Complete LIKE Pattern
Fill in the Blank Medium
Question
Fill in the blank to find emails ending in .com:
Code
SELECT * FROM users WHERE email LIKE '___';
Hint
The % wildcard matches any sequence of characters.
Explanation
The pattern '%.com' matches any string ending in '.com'. The % wildcard represents zero or more characters, so it matches any prefix before '.com'.
Related Resources
Related Lessons
- WHERE Clause
Learn LIKE.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.