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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Join/Union?

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-03-19 : 17:50:12
Kristian writes "Heres a tricky one, Im running SQL 7 and I have a 3 tables, these are

linktable
---------
name, category1, category2, category3, genre1, genre2, genre3, rating

categorytable
-------------
categoryname, subcategoryoff

Genretable
----------
genrename, subgenreoff


at any stage i will know the current genre and the current category. I need to find all the distinct sub categories and genres of the current location that have links. I dont want to get the data direct from the category or genre tables because i need to ensure that there are links available."
   

- Advertisement -