Comparing Dates or Numbers
You can use the common math comparison operators to compare numbers or dates. In many cases, you also need to cast column data to an appropriate datatype for the comparison to be successful.
This example selects legislators whose birthdate is January 1, 1960 or later: