--:--









Quiz for LIKE Operator

Course: SQL | Subject: SQL | Topic: SQL Operators



Logo

Q1: Which operator is used to search for a pattern in SQL?

Logo

Q2: Which SQL keyword is used to search for a specified pattern in a column?

Logo

Q3: What does the % symbol represent in the LIKE pattern?

Logo

Q4: Which pattern matches any value that starts with "A"?

Logo

Q5: Which operator is used to find names ending with "son"?

Logo

Q6: Which of the following matches exactly four-character strings starting with "A"?

Logo

Q7: What will LIKE '%a%' return?

Logo

Q8: Which symbol is used to match a single character?

Logo

Q9: How would you match any string that has "at" as the second and third characters?

Logo

Q10: Which clause is commonly used with LIKE?

Logo

Q11: What does the pattern "%data%" return?

Logo

Q12: Which pattern matches any string with "abc" at any position?

Logo

Q13: How many characters does the underscore "_" match?

Logo

Q14: What does the LIKE pattern "t__t" match?

Logo

Q15: Which pattern matches the exact word "test"?

Logo

Q16: Which of the following will match "sql123"?

Logo

Q17: Which LIKE clause matches "java" but not "javascript"?

Logo

Q18: LIKE is case sensitive in which database by default?

Logo

Q19: Which symbol can be used to escape wildcards in LIKE?

Logo

Q20: Which of the following queries returns names that do not contain "a"?

Are you ready to start test? Set your time limit