計(jì)算機(jī)等考三級(jí)數(shù)據(jù)庫(kù)考前模擬試題
計(jì)算機(jī)等考三級(jí)數(shù)據(jù)庫(kù)考前模擬試題
數(shù)據(jù)是用物理符號(hào)記錄下來(lái)的可以鑒別的.信息。下面給大家整理了計(jì)算機(jī)等考三級(jí)數(shù)據(jù)庫(kù)考前模擬試題,歡迎閱讀!
計(jì)算機(jī)等考三級(jí)數(shù)據(jù)庫(kù)考前模擬試題
1.假定學(xué)生關(guān)系是S(S#,SNAME,SEX,AGE),課程關(guān)系是C(C#,CNAME,TEACHER),學(xué)生選課關(guān)系是SC(S#,C#,GRADE)。要查找選修 "COMPUTER"課程的"女"學(xué)生姓名,將涉及到關(guān)系(d )
A.S
B.SC, C
C.S,SC
D.S,C,SC
2.SQL語(yǔ)言中,實(shí)現(xiàn)數(shù)據(jù)檢索的語(yǔ)句是(a )
A.SELECT
B.INDERT
C.UPDATE
D.DELETE
3.下列SQL語(yǔ)句中,修改表結(jié)構(gòu)的是(a )
A.ALTER
B.CREATE
C.UPDATE
D.INSERT
4.SQL語(yǔ)言具有兩種使用方式,分別稱為交互式SQL和(c )
A.提示式SQL
B.多用戶SQL
C.嵌入式SQL
D.解釋式SQL
5.檢索所有比 "王華"年齡大的學(xué)生姓名、年齡和性別。正確的SELECT語(yǔ)句是(a )
A.SELECT SN,AGE,SEX FROM S
SHERE AGE > (SELECT AGE FROM S)
WHERE SN=’王華’)
B.SELECT SN,AGE,SEX
FROM S
WHERE SN=’王華’
C.SELECT SN,ACE,SEX FROM S
WHERE AGE >(SELECT ACE
WHERE SN=’王華’)
D.SELECT SN,ACE,SEX FROM S
WHERE ACE >王華 AGE
6.檢索選修課程"C2"的學(xué)生中成績(jī)最高的學(xué)生的學(xué)號(hào)。正確的SeLECT的語(yǔ)句是(d )
A.SELECT S# FORM SC
WHERE C#= "C2" AND GRADE> =(SELECT GRADE FORM SC)
WHERE C#= "C2")
B.SELECT S#FORM SC
WHERE C#= "C2" AND GRADE IN(SELECT CRADE FORM SC)
WHERE C#= "C2"
C.SELECT S# FORM SC
WHERE C#= "C2" AND GRADE NOT IN(SELECT GRADE FORM SC
WHERE C#= "C2"
D.SELECT S# FORM SC
WHERE C#= "C2" AND CRANDE> =ALL(SELECT GRADE FORM SC
WHERE C#= "C2")
版權(quán)聲明:本文內(nèi)容由互聯(lián)網(wǎng)用戶自發(fā)貢獻(xiàn),該文觀點(diǎn)僅代表作者本人。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如發(fā)現(xiàn)本站有涉嫌抄襲侵權(quán)/違法違規(guī)的內(nèi)容, 請(qǐng)發(fā)送郵件至 yyfangchan@163.com (舉報(bào)時(shí)請(qǐng)帶上具體的網(wǎng)址) 舉報(bào),一經(jīng)查實(shí),本站將立刻刪除