Untitled

mail@pastecode.io avatar
unknown
plain_text
8 days ago
297 B
2
Indexable
Never
SELECT c.*, o.orderID, o.orderDate, l.orderedQuantity, p.*,
	l.orderedQuantity * p.productStandardPrice AS 'Line Total'
FROM Customer_T c, Order_T o, OrderLine_T l, Product_T p
WHERE c.customerID = o.customerID AND o.orderID = l.orderID AND l.productID = p.productID 
	AND o.orderID= '1006' 
Leave a Comment