Multiple choice

Student Table:

|Student_ID|First_Name|Last_Name|Subject| |---|---|---|---| |101|Ajit|Sharma|Physics| |102|Ranjit|Singh|Maths| |103|Virat|Kohli|Sport| |104|Suresh|Saxena|Art| |105|Gagan|Chandra|Chemistry|

  1. SELECT * FROM student WHERE subject=’Maths’ OR subject='Physics’ OR subject=’sport’

  2. SELECT * FROM student WHERE subject IN (’Maths’, ’Physics’, ’sport’)

  3. SELECT * FROM student WHERE subject=’Maths’, subject='Physics’, subject=’sport’

  4. Both (1) and (2)

  5. Both (2) and (3)

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Both are applicable for the specific result.