When to use brackets for where statement

Screen Link:

My Code: <!–SELECT Major,Major_category,Unemployment_rate
FROM recent_grads
WHERE Major_category = ‘Engineering’
OR Major_category= ‘Physical Sciences’
ORDER BY Unemployment_rate;->

Replace this line with your code

What I expected to happen:

What actually happened:
should one use brackets for major categories in this case with OR statement?

Replace this line with the output/error

Hi @atulsamadhiya91

Welcome to the community! Usually when you are using a single operator like or you need not use brackets. Only when you have multiple operators do you need to use it, an example is given in this article.

Hope this helps!