單項(xiàng)選擇題有關(guān)SQLSERVER 2008創(chuàng)建數(shù)據(jù)表的說(shuō)法,以下正確的是()

A.數(shù)據(jù)庫(kù)對(duì)創(chuàng)建表的數(shù)量沒(méi)有限制
B.創(chuàng)建數(shù)據(jù)庫(kù)表示不能同時(shí)創(chuàng)建約束
C.創(chuàng)建數(shù)據(jù)庫(kù)表的同時(shí)創(chuàng)建主鍵,實(shí)際上是在創(chuàng)建表后對(duì)表進(jìn)行修改
D.創(chuàng)建數(shù)據(jù)庫(kù)表的同時(shí)創(chuàng)建外鍵,實(shí)際上是在創(chuàng)建表后對(duì)表進(jìn)行修改


您可能感興趣的試卷

你可能感興趣的試題

2.單項(xiàng)選擇題查詢(xún)student表中的所有非空email信息,以下語(yǔ)句正確的是()

A.Select email from student where email!=null
B.Select email from student where emailnotisnull
C.Select email from student where email<>null
D.Select email from student where emailisnotnull

4.單項(xiàng)選擇題一個(gè)電視經(jīng)銷(xiāo)商在表Tvtype中維護(hù)庫(kù)存的電視信息,下述()語(yǔ)句能顯示價(jià)格(iprice)最昂貴的三種電視機(jī)的信息(cDiscription)

A.select top3 cDiscription fromTvtype order by iprice asc
B.select cDiscription from Tvtype where max(iprice)>3
C.select top3 cDiscription from Tvtype order by iprice desc
D.selec tcDiscription max(iprice)from Tvtype order by iprice

5.單項(xiàng)選擇題有名為 Sales 的表,現(xiàn)需要按客戶(hù)姓名(CustomerName)和銷(xiāo)售日期(SalesDate)排序返回銷(xiāo)售數(shù)據(jù)。為每個(gè)客戶(hù)提供最近期的銷(xiāo)售必須首先列出。應(yīng)使用的查詢(xún)語(yǔ)句為()

A.select CustomerName,SalesDate from Sales group by CustomerName,SalesDate
B.select CustomerName,SalesDate from Sales order by CustomerName,SalesDate
C.select CustomerName,SalesDate from Sales group by CustomerNameorderbySalesDateDESC
D.select CustomerName,SalesDate from Sales order by CustomerName,SalesDateDESC