單項(xiàng)選擇題下面哪一條語(yǔ)句實(shí)現(xiàn)了下列功能:在authors數(shù)據(jù)庫(kù)中查找所有姓名以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.單項(xiàng)選擇題select au_id from authors where price<$15 or price >$ 20.下面哪一條語(yǔ)句與這一條語(yǔ)句執(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.單項(xiàng)選擇題select au_id from authors where state=”ca” or state=”ks”.下面哪一條語(yǔ)句與這一條語(yǔ)句執(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.單項(xiàng)選擇題SQL SERVER 2000中,可以用下面哪一條語(yǔ)句把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.單項(xiàng)選擇題SQL SERVER中,可以用下面哪一條語(yǔ)句查看表格authors和其他對(duì)象的依賴關(guān)系()

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

5.單項(xiàng)選擇題

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

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

最新試題

在SQL中,刪除操作有drop、truncate、delete,其中風(fēng)險(xiǎn)等級(jí)最高的是delete。

題型:判斷題

MySQL變量可分為兩大類,即()

題型:多項(xiàng)選擇題

想要實(shí)現(xiàn)級(jí)聯(lián)刪除必須在數(shù)據(jù)外鍵上設(shè)置“級(jí)聯(lián)”的更新或刪除。

題型:判斷題

/*……*/用來(lái)標(biāo)記程序的注釋部分,注釋的目的是增加程序的可讀性,其中的內(nèi)容不會(huì)被執(zhí)行。

題型:判斷題

在MySQL中,使用insert語(yǔ)句向數(shù)據(jù)庫(kù)表插入數(shù)據(jù)記錄的方式有()

題型:多項(xiàng)選擇題

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

題型:多項(xiàng)選擇題

在定義數(shù)據(jù)表結(jié)構(gòu)的時(shí)候,設(shè)置數(shù)據(jù)表之間的存在關(guān)系為“級(jí)聯(lián)更新”,會(huì)為保證數(shù)據(jù)一致性帶來(lái)方便,但也存在“一改全改”的數(shù)據(jù)變化風(fēng)險(xiǎn)。

題型:判斷題

視圖就是一個(gè)虛表,保存視圖時(shí),保存的是視圖的定義。

題型:判斷題

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

題型:判斷題

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

題型:判斷題