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 |
|
hug
Starting Member
11 Posts |
Posted - 2001-04-01 : 03:53:50
|
| Hello All,I have three tablesordersorderitemproductorders.orderidorderitem.orderidorderitem.productidproduct.productidproduct.stock i want find all the orders where all the items for that order are instock.There can be more than one item in an order and the stock is an integer which is the number in stock.eg.Ordersorderid 1234orderitemorderid productid1 2 1 3 2 12 2 3 1 3 34 2 product productid stock1 52 3 3 0result of the query i cannot work outwould be Ordersid all items instockorderid24Games Warehousehttp://www.gameswarehouse.com.auCome to Games Warehouse for Australias best prices on computer and Video Games. |
|
|
|
|
|