Skip to content
Advertisement

what is the query in oracle sql to find product orders before a certain date?

how do i find all the customers who have made orders before 2017. List must incld the customer ID, customer name, and ordered by their ID values in desc

Advertisement

Answer

You can use exists and a correlated subquery to filter customers who ordered before 2017. We can get that information by looking at the orders table only:

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement