What does LIKE do, and what are % and _?
Model answer
LIKE matches text patterns: % matches any number of characters, _ matches exactly one. name LIKE 'A%' finds names starting with A. A pattern with a leading % usually cannot use a normal index, so it can be slow on large tables.
Learn this topic
SELECT, FROM and WHERE: Your First Queries in the course SQL for Beginners: Learn Databases Step by Step.
Sign in to add your own answer.