Exercise: Contains Pattern
Find students whose courses contain 'y'.
Solution
sql
1SELECT * FROM students
2WHERE course LIKE '%y%';Returns: Python, Ruby, etc.

Find students whose courses contain 'y'.
1SELECT * FROM students
2WHERE course LIKE '%y%';Returns: Python, Ruby, etc.