datacamp/antlr-plsql

Difference in parsing WHERE if using parentheses and not

filipsch opened this issue · 0 comments

SELECT id FROM artists WHERE id > 100

image

versus

SELECT id FROM artists WHERE (id > 100)

image

Notice that the first image shows where_clause on the edge, while the second shows where_clause[0]. Not sure if there is ever a use-case for multiple WHERE's