單項(xiàng)選擇題從authors 數(shù)據(jù)庫(kù)中查詢出所有au_id滿足前2個(gè)字符為”72”,第四個(gè)字符為”-“的作家的姓名,下面哪一條語句滿足條件()

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_-%” _代表任意一個(gè)字符


您可能感興趣的試卷

你可能感興趣的試題

1.單項(xiàng)選擇題下面哪一條語句實(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

2.單項(xiàng)選擇題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.單項(xiàng)選擇題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.單項(xiàng)選擇題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

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

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

最新試題

MySQL權(quán)限管理分為兩個(gè)階段:服務(wù)器會(huì)檢查是否允許你連接,檢查你發(fā)出的每個(gè)請(qǐng)求,看是否有足夠的權(quán)限實(shí)施它。

題型:判斷題

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

題型:判斷題

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

題型:判斷題

mysql變量有4種類型:局部變量、用戶變量、會(huì)話變量和全局變量。

題型:判斷題

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

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

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

題型:?jiǎn)雾?xiàng)選擇題

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

題型:判斷題

MySQL通過賦予/撤銷某個(gè)用戶對(duì)某個(gè)數(shù)據(jù)庫(kù)或某個(gè)表的某項(xiàng)權(quán)力(讀、寫、更改、刪除等),來保證數(shù)據(jù)安全。

題型:判斷題

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

題型:判斷題

out模式定義的參數(shù)只能在過程體內(nèi)部賦值,表示該參數(shù)可以將某個(gè)值傳遞回調(diào)用他的過程。

題型:判斷題