單項選擇題下面哪一條語句實現(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


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題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);

2.單項選擇題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”);

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

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

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

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

5.單項選擇題

ALTER TABLE exa  
ADD column_b VARCHAR(20) NULL    
這條語句的語義為()

A.創(chuàng)建表格exa,使其增加一列
B.創(chuàng)建表格exa,使其刪除一列
C.修改表格exa 定義,使其增加一列
D.修改表格 exa 定義,使其刪除一列

最新試題

以下關(guān)于級聯(lián)刪除描述正確的是()

題型:多項選擇題

在insert語句中可以嵌入子查詢,通過子查詢將來自其他數(shù)據(jù)表的數(shù)據(jù)批量插入到所需的數(shù)據(jù)表中。

題型:判斷題

DELETE語句中使用JOIN子句執(zhí)行跨表刪除時,有INNER、LEFT、RIGHT即內(nèi)連接、左連接、右連接等不同的連接方式。

題型:判斷題

視圖的意義:為用戶集中提取數(shù)據(jù)、隱蔽數(shù)據(jù)庫的復(fù)雜性,使操作簡便化、增加數(shù)據(jù)的安全性、提高表的邏輯獨立性。

題型:判斷題

MYSQL存儲過程優(yōu)點有,封裝性、增強(qiáng)SQL語句的功能和靈活性、減少網(wǎng)絡(luò)流量、高數(shù)據(jù)庫的安全性和數(shù)據(jù)的完整性。

題型:判斷題

MySQL 5.0存貯過程的優(yōu)勢是()

題型:多項選擇題

MySQL服務(wù)器通過()來維護(hù)連接的客戶端,其作用域僅限于當(dāng)前連接。

題型:單項選擇題

在以下選項中哪些屬于視圖的功能()

題型:多項選擇題

以下分支結(jié)構(gòu)控制語句正確的是()

題型:單項選擇題

不同的用戶合理地分配相應(yīng)權(quán)限,能有效控制不同用戶對不同數(shù)據(jù)的“增刪秘方”權(quán)限,是保護(hù)數(shù)據(jù)的一種有效手段。

題型:判斷題