15、(6-24)choose the best answer
Examine the structure of the MEMBERS table:
You want to display details of all members who reside in states starting with the letter A followed
by exactly one character.
Which SQL statement must you execute?
A. SELECT * FROM MEMBERS WHERE state LIKE ‘A%’;
B. SELECT * FROM MEMBERS WHERE state LIKE ‘A_%’;
C. SELECT * FROM MEMBERS WHERE state LIKE ‘A_‘;
D. SELECT * FROM MEMBERS WHERE state LIKE ‘%A_‘;
Answer:A
(解析:答案 B 也是可以达到要求,但是不是最好的答案)
原文地址:http://blog.51cto.com/13854012/2351352
时间: 2024-10-16 15:13:21