datacamp / sqlwhat

https://sqlwhat.readthedocs.io
GNU Affero General Public License v3.0
3 stars 8 forks source link

where -> check_result - "incorrect third condition in WHERE?" #9

Open machow opened 7 years ago

machow commented 7 years ago

In general, producing a statement like this is very hard. It's unclear how this should be done. For reference, a WHERE clause might look like this...

image

(Note that we essentially run into the same problem here as for test_operator in pythonwhat.)

machow commented 7 years ago

This issue probably needs to be rephrased, since it's not really about WHERE clauses per se, but binary expressions, and the like.