In a LIKE clause, you can ask for any 6 letter value by writing?
Correct answer
D. LIKE ______ (that’s six underscore characters)
14 views
D. LIKE ______ (that’s six underscore characters)
14 views
LIKE '______' — six underscore characters. In a LIKE pattern each underscore matches exactly one character, so six of them match any value exactly six characters long.
The percent sign matches any number of characters. Question marks and dots are wildcards in other systems (shell patterns and regular expressions), not in SQL LIKE.
Practise more Database Management Systems MCQs with answers and explanations on MCQsExam.com.
Not sure why the answer is D? Ask here and get an explanation.