VonFranzken
MIS
I want this query to show the unique orders per persons firstname, which in this case happens to be the full name
I have 3 tables Users, Orders, OrderDetails.
SELECT DISTINCT DetailOrderID, UserID, OrderUserID, DetailProductName, DetailQuantity, DetailPrice, OrderShipping, OrderTotal, OrderDate, Firstname
FROM Orders o, OrderDetails d, Users u
WHERE
rderUserID = u.UserID
Problem with this query is it shows everything like multiple times.
I have 3 tables Users, Orders, OrderDetails.
SELECT DISTINCT DetailOrderID, UserID, OrderUserID, DetailProductName, DetailQuantity, DetailPrice, OrderShipping, OrderTotal, OrderDate, Firstname
FROM Orders o, OrderDetails d, Users u
WHERE
Problem with this query is it shows everything like multiple times.