Matching part of a text value with wildcards
A query criterion where the * wildcard stands for any characters, so it finds text that starts with S. Like "*s" ends with s and Like "*at*" contains at.
Understanding Matching part of a text value with wildcards in VCE Spreadsheets, SQL & Visualisation
What it does: The * comes first to stand for any starting characters, and the s at the end means the text must finish with s. LIKE is used with a wildcard such as * to match part of the text, and B* matches any text that starts with B. The * goes after the S because any characters can follow the S. So Like "S*" finds Sam, Sofia and Shen. The letters a and t must appear together as at somewhere in the word. Tap has them in the wrong order and Cot has no a.
Common mistakes: The wildcard is on the wrong side. "*S" finds names that END with S. To find names that start with S, the criterion must be Like "S*". Fields in a SELECT list must be separated by a comma. It should be SELECT Name, Age.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 45–54) and word search (Modules 35–54).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
Like "S*"Fill in the Blanks
Spot the Error
Student with a class code? Join your class →