Practice · Education · Easy
Return the name of every university whose name contains the word “University”, alphabetically.
Runs in your browser. No signup needed.
Use WHERE name LIKE ‘%University%’. The % wildcard matches any run of characters.
SELECT name
FROM universities
WHERE name LIKE '%University%'
ORDER BY name;
The reference solution is checked automatically when you run your query on the practice page — results are compared row by row, and order matters for this one.
LIKE with % is pattern matching; use it for “contains”, “starts with” (‘abc%’) and “ends with” (‘%abc’). (SQLite docs)