题目
单项选择题
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
选项
A.all names starting with "to," such as Tommy or Tony
B.all names ending with "to," such as Roberto
C.all names with "to," such as Roberto and Tommy
D.all names without "to," such as Samantha or Kathryn
查看解析
标准答案
Please login to view
思路分析
Let's analyze what the SQL pattern LIKE '%to%' means in a WHERE clause.
Option 1: 'all names starting with "to," such as Tommy or Tony' would require the pattern 'to%' to match names that begin with 'to'. Since the actual pattern uses '%to%', this option is too res......Login to view full explanation登录即可查看完整答案
我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。
类似问题
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
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?
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!