What is the purpose of the LIKE operator in SQL?
SQL Server Course for Beginners with 100+ examples - MAX() Function

Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Hard
Quizizz Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To join two tables
To sort data in ascending order
To match patterns in text
To perform arithmetic operations
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used with the LIKE operator to match zero or more characters?
Hash (#)
Underscore (_)
Percentage (%)
Asterisk (*)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you select employee names starting with 'T' using the LIKE operator?
SELECT * FROM employee WHERE name LIKE 'T_'
SELECT * FROM employee WHERE name LIKE '_T'
SELECT * FROM employee WHERE name LIKE '%T'
SELECT * FROM employee WHERE name LIKE 'T%'
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the result of using the query: SELECT * FROM employee WHERE city LIKE 'A%'?
Cities ending with 'A'
Cities containing 'A'
Cities starting with 'A'
Cities with 'A' in the second position
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which employee names will be selected with the query: SELECT * FROM employee WHERE name LIKE '%I'?
Names starting with 'I'
Names ending with 'I'
Names with 'I' in the second position
Names containing 'I'
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you select employee names with 'E' as the second character?
SELECT * FROM employee WHERE name LIKE 'E%'
SELECT * FROM employee WHERE name LIKE '_E%'
SELECT * FROM employee WHERE name LIKE '%E_'
SELECT * FROM employee WHERE name LIKE 'E_'
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the NOT LIKE operator do in SQL?
Sorts records in descending order
Excludes records matching a pattern
Includes records matching a pattern
Joins records from two tables
Similar Resources on Quizizz
6 questions
SQL Server Course for Beginners with 100+ examples - Stored Procedures in SQL

Interactive video
•
University
2 questions
SQL Server Course for Beginners with 100+ examples - LIKE Operator

Interactive video
•
University
6 questions
Job-Ready SQL in an Afternoon - Negating Conditionals

Interactive video
•
University
6 questions
AZ-204 Developing for Microsoft Azure Exam Prep - Structured Query Language (SQL) SQL Server Management Studio (SSMS)

Interactive video
•
University
6 questions
Master SQL for Data Analysis - Alias for Tables and Columns

Interactive video
•
University
6 questions
SQL Server Course for Beginners with 100+ examples - NOT Operator

Interactive video
•
University
6 questions
SQL Server Course for Beginners with 100+ examples - OR Operator

Interactive video
•
University
6 questions
SQL Server Course for Beginners with 100+ examples - AND Operator

Interactive video
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade