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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2000-11-02 : 09:08:22
|
John writes "I am trying to build a query in which the results are those entries in one table that have a relation with every element in another table.
For example, say we have a table called Pokemon containing information on each pokemon © collectors card, and a table called ComicShop containing information on each card dealer in our area. There is also a table called InStock, which contains an identifier for a card, matched with an identifier for the store that has that card in stock.
Now the question is, What is a query that would find out which shops have all of the cards in stock? I would prefer not to use subqueries or temporary tables if possible." |
|
|
|
|
|