Generating this kind of SQL query, with two conditions on the same field is quite misleading.
Couldn't we change the example to get useful queries?