diff --git a/queries.py b/queries.py index 13988fa45cf4285f5b7e4a347c43687b3f6a8175..8b1d3e7a6d9be223c345bbc010d2df641818cfc5 100644 --- a/queries.py +++ b/queries.py @@ -43,10 +43,10 @@ queries[5] = """ select 0; """ -### 6. Write a query to find all the empty flights (if any); recall that all the flights listed -### in the flights table are daily, and that flewon contains information for a period of 10 -### days from Jan 1 to Jan 10, 2010. For each such flight, list the flightid and the date. -### Order by flight id in increasing order, and then by date in increasing order. +### 6. Write a query to find empty flights (flight, flight date) on any date +### which someone flew. Assume that if anyone flew on a given date, all +### flights took off as scheduled, with or without passengers. Order by flight +### id in increasing order, and then by date in increasing order. queries[6] = """ select 0; """