← Quiz: Filtering and Sorting: all 10 questions
Quiz: Filtering and Sorting · Question 5 of 10
In WHERE city = 'Pune' OR city = 'Delhi' AND salary 50000, which is evaluated first?
In WHERE city = 'Pune' OR city = 'Delhi' AND salary > 50000, which is evaluated first?
- A.OR
- B.AND
- C.Left to right
- D.It's an error
Answer & explanation
Correct answer: AND
AND binds tighter than OR. Use brackets to make the meaning clear.
Can you get the rest right without peeking?
Take the timed Quiz: Filtering and Sorting quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →