單項(xiàng)選擇題在SQL Server2008數(shù)據(jù)庫(kù)中,可以使用()關(guān)鍵字來(lái)限制返回的數(shù)據(jù)行數(shù)。

A.LIMIT
B.TOP
C.COUNT
D.SUM


您可能感興趣的試卷

你可能感興趣的試題

1.單項(xiàng)選擇題一個(gè)電視經(jīng)銷商在表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

2.單項(xiàng)選擇題有名為 Sales 的表,現(xiàn)需要按客戶姓名(CustomerName)和銷售日期(SalesDate)排序返回銷售數(shù)據(jù)。為每個(gè)客戶提供最近期的銷售必須首先列出。應(yīng)使用的查詢語(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

3.單項(xiàng)選擇題創(chuàng)建一個(gè)名為’catt’的新表,要求該表包含’kehu’表的所有記錄,應(yīng)使用的SQL語(yǔ)句是()

A.select*intocatt where from kehu
B.select*into catt from kehu
C.insert into catt select*from kehu
D.inser tinto catt from select*from kehu

4.單項(xiàng)選擇題下列T-SQL數(shù)學(xué)運(yùn)算語(yǔ)句,與SELECT2*5執(zhí)行結(jié)果相同的是()

A.SELECT20%2
B.SELECT2*5.0
C.SELECT20.0/2
D.SELECT20/2