Hi all i am new to the forums, nice to meet you looking forward to having a great time.
The following query is returning the correct results when written like
select * from executive_case where currentassignie=1 and dateaudited is null or dateaudited = '0000-00-00';
And entirely different results when written like this
select * from executive_case where dateaudited is null or dateaudited = '0000-00-00' and currentassignie=1;
Is that a bug or is there a operator precedence in mysql.
Have a great day !