SELECT DISTINCT order_id FROM orders ORDER BY date_order_placed
What are ids of the all distinct orders, sorted by placement date?
SELECT DISTINCT order_id FROM orders ORDER BY date_order_placed
select distinct order_id from orders order by date_order_placed
What are ids of the all distinct orders , sorted by placement date ?