Only this week, get the SQL Complete Track of 9 courses in a special prize of $330$89!
Introduction
Dealing with dates
7. Using logical operators with dates
Working with time data
Date and time date
Extracting dates and times
Doing arithmetic with dates
Converting date and time data
Current date and time data
Building date and time data from parts
Summary and review

## 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'.