单项选择题
从authors 数据库中查询出所有au_id满足前2个字符为”72”,第四个字符为”-“的作家的姓名,下面哪一条语句满足条件()
A.select * from authors where au_id =”72_-%”
B.select au_id=72_-% from authors
C.select * from authors where au_id like “72*-%”
D.select * from authors where au_id like “72_-%” _代表任意一个字符
相关考题
-
单项选择题
下面哪一条语句实现了下列功能:在authors数据库中查找所有姓名以d 打头的作家()
A. select * from authors where au_name=”d”
B. select “d” from authors
C. select * from authors where au_name like “d%”
D. select au_name like “d%” from authors -
单项选择题
select au_id from authors where price$ 20.下面哪一条语句与这一条语句执行效果相同()
A. select au_id from authors where price IN($15,:$20);
B. select au_id from authors where price between $15 and $20
C. select au_id from authors where price not between $15 and $20
D. select au_id from authors where price not IN($15,$20); -
单项选择题
select au_id from authors where state=”ca” or state=”ks”.下面哪一条语句与这一条语句执行效果相同()
A. select au_id from authors where state IN(“ac”,:”sk”);
B. select au_id from authors where state between ac and sk
C. select au_id from authors where state not between ca and ks
D. select au_id from authors where state IN(“ca”,:”ks”);
