Skip
Arish's avatar

36. Practice - IN Operator


Exercise: Multiple Courses

Find students in HTML, CSS, or React courses.

Solution

sql
1SELECT * FROM students
2WHERE course IN ('HTML', 'CSS', 'React');

Practice

sql
1-- Grades A, B, or C
2SELECT * FROM students
3WHERE grade IN ('A', 'B', 'C');