JElster
asked on
Help with LEFT OUTER JOIN
Hi
I have a Customer tables and an Orders table.
How can I write a query that will return just 1 record from the Orders table
SELECT * FROM CUSTOMERS A
LEFT OUTER JOIN ORDERS ON A.CUST_ID = ORDERS.CUST_ID
I have a Customer tables and an Orders table.
How can I write a query that will return just 1 record from the Orders table
SELECT * FROM CUSTOMERS A
LEFT OUTER JOIN ORDERS ON A.CUST_ID = ORDERS.CUST_ID
ASKER
order by most current ORDER DATE.
So I need the customer and most current order
So I need the customer and most current order
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
THX
Open in new window