I have the following query in libreoffice calc:
Extract records where grade is 1 or 2 and salary >= 10000 and salary <=20000
I used standard filters in the sequence grade = 1 or grade=2 and sal >= 10000 and sal<=20000
Using the above sequence, I am not getting the correct result
However, if I use the sequence as sal >= 10000 and sal<=20000 and grade = 1 or grade=2, then I am getting the correct result.
Is this due to Order of precedence?
Why I am getting different results?
