亚洲精品中文字幕无乱码_久久亚洲精品无码AV大片_最新国产免费Av网址_国产精品3级片

試題

計(jì)算機(jī)等考三級(jí)數(shù)據(jù)庫(kù)模擬練習(xí)題

時(shí)間:2024-10-01 04:50:04 試題 我要投稿

2017計(jì)算機(jī)等考三級(jí)數(shù)據(jù)庫(kù)模擬練習(xí)題

  2017下半年計(jì)算機(jī)等級(jí)考試時(shí)間9月23日-26日,同學(xué)們?cè)趶?fù)習(xí)過(guò)程中,練習(xí)題更是不可忽視的一部分,以下是百分網(wǎng)小編搜索整理的一份2017計(jì)算機(jī)等考三級(jí)數(shù)據(jù)庫(kù)模擬練習(xí)題,供參考練習(xí),希望對(duì)大家有所幫助!

  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ǔ)言具有兩種使用方式,分別稱(chēng)為交互式SQL和(c )

  A.提示式SQL

  B.多用戶(hù)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")

  7.檢索學(xué)生姓名及其所選修課程的課程號(hào)和成績(jī)。正確的SELECT語(yǔ)句是( C)

  A.SELECT S.SN,SC.C#,SC.CRADE

  FROMS

  WHERE S.S#=SC.S#

  B.SELCECT S.SN,SC.C#,SC.GRADE

  FROM SC

  WHERE S.S#=S

  C.CRADEC.SELECT S.SN,SC.C#,SC.CRADE

  FROM S,SC

  WHERE S.S#:S C.S#

  D.SELSECT S.SN,SC.C#,SC.GRADE

  FROM S,SC

  8.檢索選修四門(mén)以上課程的學(xué)生總成績(jī)(不統(tǒng)計(jì)不及格的課程),并要求按總成績(jī)的降序捧列出來(lái)。正確的SElECT語(yǔ)句是( B)

  A.SELECT S#,SUM(GRADE)FROM SC

  WHERE GRADE >=60

  CROUP BY S#

  ORDER BY 2 DESC

  HAVING COUNT(*) >=4

  B.SELECT S#,SUM(GRADE)FROM SC

  WHERE GRADE >=60

  GROUP BY S#

  HAVING COUNT(*) >=4

  ORDER BY 2 DESC

  C.SELECT S#,SUM(GRADE)FROM SC

  WHERE GRADE >=60

  HAVINC COUNT(*) >=4

  GROUP BY S#

  ORDER BY 2 DESC

  D.DELECT S#,SUM(GRADE)FROM SC

  WHERE GRADE >=60

  ORDER BY 2 DESC

  CROUP BY S#

  HAVINC COUNT(*) >=4

  9.若用如下的SQL語(yǔ)句創(chuàng)建一個(gè)student表:

  CREATE TABLE student NO C(4)NOT NULL,

  NAME C(8)NOT NULL,

  SEX C(2),

  AGE N(2)

  可以插入到student表中的是(b )

  A.(’1031’,’曾華’,男,23)

  B.(’1031’,’曾華’,NULL,NULL)

  C.(NULL,’曾華’,’男’,’23’)

  D.(’1031’,NULL,’男’,23)

  10.SQL語(yǔ)言是(b )的語(yǔ)言,易學(xué)習(xí)。

  A.過(guò)程化

  B.非過(guò)程化

  C.格式化

  D.導(dǎo)航式

【計(jì)算機(jī)等考三級(jí)數(shù)據(jù)庫(kù)模擬練習(xí)題】相關(guān)文章:

2017年計(jì)算機(jī)等考三級(jí)數(shù)據(jù)庫(kù)模擬練習(xí)題10-28

計(jì)算機(jī)等考三級(jí)數(shù)據(jù)庫(kù)模擬練習(xí)試題05-21

計(jì)算機(jī)等考三級(jí)數(shù)據(jù)庫(kù)考前模擬題09-07

計(jì)算機(jī)三級(jí)MySQL數(shù)據(jù)庫(kù)模擬試題10-23

計(jì)算機(jī)三級(jí)考試數(shù)據(jù)庫(kù)模擬題03-21

計(jì)算機(jī)三級(jí)數(shù)據(jù)庫(kù)技術(shù)考前模擬06-16

2024計(jì)算機(jī)三級(jí)數(shù)據(jù)庫(kù)模擬試題10-25

計(jì)算機(jī)三級(jí)MySQL數(shù)據(jù)庫(kù)練習(xí)題及答案09-13

計(jì)算機(jī)三級(jí)考試數(shù)據(jù)庫(kù)技術(shù)練習(xí)題08-20

計(jì)算機(jī)三級(jí)《數(shù)據(jù)庫(kù)技術(shù)》練習(xí)題及答案10-18