In a LIKE clause, you can could ask for any value ending in “qpt” by writing
Correct answer
A. LIKE %qpt
16 views
A. LIKE %qpt
16 views
LIKE '%qpt' matches any value ending in "qpt". In SQL's LIKE operator the percent sign stands for any sequence of zero or more characters, so placing it before the text means "anything, then qpt".
The other options use regular-expression or shell wildcards (*, $, ^), which LIKE does not understand — those belong to REGEXP.
For more solved questions like this one, see Database Management Systems MCQs on MCQsExam.com.
Not sure why the answer is A? Ask here and get an explanation.