Instruction
Good job! Interval arithmetic is 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_date >= '2010-01-01' AND produced_date < '2010-01-01'::date + INTERVAL '1 month';
Check it out for yourself!
Exercise
Count the number of flights performed within 180 days from the beginning of August 2015. Name the column flights.



