I need help with a query Im trying to write, I cant for th life of me think of the code to query a table to search for a specific date...Its bugging the hell out of me!
You don't need a pl/sql for that. Your query in itself is fine. But you can also select other columns apart from the customer name.
eg.
SELECT cust_name, other columns u want
FROM Customers C, Orders O
WHERE C.cust_id = O.cust_id
AND trunc(O.order_date) = '&days'
Bookmarks