[eluser]mradlmaier[/eluser]
Hi All,
As far as I can see from the documentation, there is no easy way to use brackets in the WHERE or HAVING clauses to control precedence of multiple column criteria?
For example:
Code:
SELECT * FROM tbl1 WHERE col1 = 'abc' AND col2 = 'edf' OR col3 = 'ghi'
is not the same as
Code:
SELECT * FROM tbl1 WHERE col1 = 'abc' AND (col2 = 'edf' OR col3 = 'ghi')
Or did I miss something?
Michael