Codd's Theorem
Symptom You write: SELECT name FROM users WHERE age > 30 AND city = 'Berlin'; You did not say whether to scan the table or use an index. You did not say which of the two predicates to apply first. You did not say anything about join order, because there is no join, but if there were you would not have said that either. ...