多項(xiàng)選擇題學(xué)生成績(jī)表grade中有字段score(float),現(xiàn)在要把所有在55分至60之間的分?jǐn)?shù)提高5分,以下sql語(yǔ)句正確的是()

A.Update grade set score=score+5
B.Update grade set score=score+5 where score>=55 or score <=60
C.Update grade set score=score+5 where score between 55 and 60
D.Update grade set score=score+5 where score >=55 and score <=60


您可能感興趣的試卷

你可能感興趣的試題

1.多項(xiàng)選擇題現(xiàn)有書目表book,包含字段:price(float);現(xiàn)在查詢一條書價(jià)最高的書目的詳細(xì)信息,以下語(yǔ)句正確的是()

A.select top 1 * from book order by price asc
B.select top 1 * from book order by price desc
C.select top 1 * from book where price= (select max (price)from book)
D.select top 1 * from book where price= max(price)

2.多項(xiàng)選擇題成績(jī)表grade中字段score代表分?jǐn)?shù),以下()語(yǔ)句返回成績(jī)表中的最低分。

A.select max(score) from grade 
B.select top 1 score from grade order by score asc 
C.Select min(score) from grade 
D.select top 1 score from grade order by score desc

3.多項(xiàng)選擇題Sql語(yǔ)句:select * from students where SNO like ‘010[^0]%[A,B,C]%’,可能會(huì)查詢出的SNO是()

A.01053090A#Hm3?
B.01003090A01
C.01053090D09
D.0101A01

4.多項(xiàng)選擇題關(guān)于Truncatetable,以下()描述是正確的。

A.Truncate table 可跟Where從句,根據(jù)條件進(jìn)行刪除 
B.Truncate table 用來(lái)刪除表中所有數(shù)據(jù) 
C.觸發(fā)器對(duì)Truncate table無(wú)效 
D.delete 比Truncate table速度快

5.多項(xiàng)選擇題查詢畢業(yè)學(xué)校名稱與“清華”有關(guān)的記錄應(yīng)該用()

A.SELECT * FROM 學(xué)習(xí)經(jīng)歷 WHERE 畢業(yè)學(xué)校 LIKE ’*清華*’ 
B.SELECT * FROM 學(xué)習(xí)經(jīng)歷 WHERE 畢業(yè)學(xué)校 = ’清華%’ 
C.SELECT * FROM 學(xué)習(xí)經(jīng)歷 WHERE 畢業(yè)學(xué)校 LIKE ’?清華?’ 
D.SELECT * FROM 學(xué)習(xí)經(jīng)歷 WHERE 畢業(yè)學(xué)校 LIKE ’%清華%’