题目
单项选择题
Question at position 26 What does this SQL statement return? SELECT name FROM students WHERE name LIKE '%to%'; all names with "to," such as Roberto and Tommy all names without "to," such as Samantha or Kathryn all names starting with "to," such as Tommy or Tony all names ending with "to," such as Roberto
选项
A.all names with "to," such as Roberto and Tommy
B.all names without "to," such as Samantha or Kathryn
C.all names starting with "to," such as Tommy or Tony
D.all names ending with "to," such as Roberto
查看解析
标准答案
Please login to view
思路分析
We start by restating the core operation: the SQL statement uses LIKE '%to%', which means we are searching for the substring 'to' appearing anywhere within the value of the name column.
Option 1: all names with "to," such as Roberto and Tommy. This aligns with the rule that any name containing the letters t followed by o, in that order, somewhere inside the ......Login to view full explanation登录即可查看完整答案
我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。
类似问题
Question at position 25 What does this SQL statement return? SELECT name FROM students WHERE name LIKE '%to%'; all names starting with "to," such as Tommy or Tony all names ending with "to," such as Roberto all names with "to," such as Roberto and Tommy all names without "to," such as Samantha or Kathryn
Which of the following is a possible output from the expression WHERE name = '%D%' 1. %D% 2. Dan 3. Little Dan
Which of the following commands does NOT include a customer with the first name 'BONITA' in the query results?
Which of the following returns the book HANDCRANKED COMPUTERS in the results?
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!