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

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)在查詢一條書價最高的書目的詳細(xì)信息,以下語句正確的是()

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)選擇題成績表grade中字段score代表分?jǐn)?shù),以下()語句返回成績表中的最低分。

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語句:select * from students where SNO like ‘010[^0]%[A,B,C]%’,可能會查詢出的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 用來刪除表中所有數(shù)據(jù) 
C.觸發(fā)器對Truncate table無效 
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 ’%清華%’