Instruction
Good job. Comparison operators are often used with intervals when we want to find facts for a specific month. We no longer need to check whether a given month has 28, 29 (February), 30 or 31 days, the database will do that for us.
SELECT id
FROM aircraft
WHERE produced >= '2010-01-01'
AND produced < CAST('2010-01-01' AS date) + INTERVAL '1' MONTH;
Check it out for yourself!
Exercise
Count the number of flights performed in August 2015. Name the column flight_no.



