Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Ravius
Starting Member
13 Posts |
Posted - 2009-08-31 : 23:44:48
|
hi guys, i got a product table with productID, categoryID and countryName.category table with name and country table.How do I write the select statement to display the product with the Category Name while taking in countryID? =( thanks in advance! |
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2009-09-01 : 02:26:22
|
[code]SELECT p.productID, c.NameFROM product p inner join category c on p.categoryID = c.categoryID[/code] KH[spoiler]Time is always against us[/spoiler] |
 |
|
|
|
|