Question: Find the id of the order which is shipped most recently.
Schema: create table shipments (order_id varchar, shipment_date integer, PRIMARY KEY (order_id))
SQL: select order_id from shipments where shipment_date = (select max(shipment_date) from shipments)