Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to get values in a table??

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
Sorry I´m a beginner.
I have a table with 20 regions and 3 products with their respective prices. The price changes in function of region and kind of product. I want to know how to select the correct price from region and product.
thanks
 
The fields in your table appear to be the following:
regions
product1
price1
product2
price2
product3
price3

Let us assume that your table name is Goods. Then you can build SQL in the query window that might look something like this:

Select price1 from Goods
where price = 25;

Is this what you are looking for? [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top