If we replace the previous conditions with major IN ('History', 'Physics'), we get the same result table.
major IN ('History', 'Physics')
Make sure to pick IN followed by ( and then 'History', 'Physics', ).
IN
(
'History', 'Physics'
)