Instruction
Well done! It is also quite easy to use dates with other logical operators. Take a look at the following example:
SELECT Id, Model, ProducedDate FROM Aircraft WHERE ProducedDate > '2010-12-31';
In T-SQL, a date that is "greater than" 2010-12-31 means all the dates after December 31, 2010 (i.e., from 2011-01-01 to today). Similarly, putting the "less than" sign instead (<) will show all dates before the given date.
Exercise
Select the Id, Model, and ProducedDate columns for all aircraft produced after December 31, 2012.
Stuck? Here's a hint!
Remember about the proper date format and use quotes: 'YYYY-MM-DD'.



