Apr 27, 2004 #1 Gatorajc MIS Mar 1, 2002 423 US I have 3 tables Orders pk OrderID CustId OrderItems pk OrderItemID fk OrderID fk productid qty Products pk ProductId ProductDescription I want to get this result CustID Qty ProductDescription Smith 4 Meter Thanks in advance. AJ Do you feel lucky?
I have 3 tables Orders pk OrderID CustId OrderItems pk OrderItemID fk OrderID fk productid qty Products pk ProductId ProductDescription I want to get this result CustID Qty ProductDescription Smith 4 Meter Thanks in advance. AJ Do you feel lucky?
Apr 27, 2004 1 #2 PHV MIS Nov 8, 2002 53,708 FR SELECT CustID,qty,ProductDescription FROM Orders A INNER JOIN Orderitems B ON B.OrderID=A.OrderID INNER JOIN Products C ON C.ProductId=B.ProductId Hope This Help, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 Upvote 0 Downvote
SELECT CustID,qty,ProductDescription FROM Orders A INNER JOIN Orderitems B ON B.OrderID=A.OrderID INNER JOIN Products C ON C.ProductId=B.ProductId Hope This Help, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
Apr 27, 2004 Thread starter #3 Gatorajc MIS Mar 1, 2002 423 US Perfect AJ Do you feel lucky? Upvote 0 Downvote