單項選擇題從authors 數(shù)據(jù)庫中查詢出所有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_-%” _代表任意一個字符


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題下面哪一條語句實現(xiàn)了下列功能:在authors數(shù)據(jù)庫中查找所有姓名以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

2.單項選擇題select au_id from authors where price<$15 or price >$ 20.下面哪一條語句與這一條語句執(zhí)行效果相同()

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);

3.單項選擇題select au_id from authors where state=”ca” or state=”ks”.下面哪一條語句與這一條語句執(zhí)行效果相同()

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”);

4.單項選擇題SQL SERVER 2000中,可以用下面哪一條語句把authors表重命名為表student()

A.sp_renamedb authors student
B.sp_rename  authors  student
C.sp_renamedata authors student
D.sp_renameview authors student

5.單項選擇題SQL SERVER中,可以用下面哪一條語句查看表格authors和其他對象的依賴關(guān)系()

A.sp_spaceused authors
B.sp_depends authors
C.sp_help authors
D.sp_renamedb authors student