使用select top 5 * from employee语句得到的结果集中有()条记录。A、10B、2C、5D、6

使用select top 5 * from employee语句得到的结果集中有()条记录。

  • A、10
  • B、2
  • C、5
  • D、6

相关考题:

如果在SELECT语句中使用了TOP子句,必须要同时使用【 】子句。

使用如下3个表:职员.DBF:职员号C(3),姓名C(6),性别C(2),组号N(1),职务C(10)客户.DBF:客户号C(4),客户名C(36),地址C(36),所在城市C(36)订单.DBF:订单号C(4),客户号C(4),职员号C(3),签订日期D,金额N(6,2)查询金额最大的那10%订单的信息。正确的SQL语句是______。A.SELECT*TOP 10 PERCENT FROM 订单B.SELECT TOP 10% *FROM 订单 ORDER BY 金额C.SELECT*TOP 10 PERCENT FROM 订单 ORDER BY 金额D.SELECT TOP 10 PERCENT * FROM 订单 ORDER BY 金额 DESC

在成绩表中要求按“总分”降序排列,并查询前3名学生的记录,正确的命令是A.SELECT * TOP 3 FROM成绩表; WHERE总分DESCB.SELECT * TOP 3 FROM成绩表; FOR总分DESCC.SELECT * TOP 3 FROM成绩表; GROUP BY总分DESCD.SELECT * TOP 3FROM成绩表; ORDER BY总分DESC

查询金额最大的那10%订单的信息。正确的SQL语句是A.SELECT*TOP l0 PERCENT FROM订单B.SELECT TOP l0%*FROM 订单 ORDER BY金额C.SELECT*TOP l0 PERCENT FROM 订单 ORDER BY 金额D.SELECT TOP l0 PERCENT*FROM 订单 ORDER BY 金额 DESC

在成绩表中要求按“物理”降序排列,并查询前两名的学生姓名,正确的语句是( )。A.SELECT 姓名 TOP 2 FROM 成绩表 WHERE 物理 DESCB.SELECT 姓名 TOP 2 FROM 成绩表 FOR 物理 DESCC.SELECT 姓名 TOP 2 FROM 成绩表 GROUP BY 物理 DESCD.SELECT 姓名 TOP 2 FROM 成绩表 ORDER BY 物理 DESC

在成绩表中要求按“物理”降序排列,并查询前两名的学生姓名,正确的语句是( )。A.SELECT姓名TOP 2 EROM成绩表WHERE物理 DESCB.SEl.ECT姓名TOP 2 FROM成绩表FOR物理DFAKCC.SELECT姓名TOP 2 FROM成绩表GROUP BY物 理DESCD.SELECT姓名TOP 2 FROM成绩表ORDER BY物 理DESC

查淘金额最大的10%的订单信息。正确的SQL语句是( )。A.SELECT*TOP l0 PERCENT FROM 订单B.SELECTTOP 10%*FROM 订单 ORDER BY 金额C.SELECT*TOP l0 PERCENT FROM 订单 ORDER BY 金额D.SELECTTOP l0 PERCENT*FROM 订单 ORDER BY 金额 DESC

使用select top 5 * from employee语句得到的结果集中有()条记录。A.10B.2C.5D.6

要从学生表(学号、姓名、性别、出生年月、入校总分、三好生)中查询入校总分最高的3个学生的记录,应使用的SELECT SQL语句是 ______。A.SELECT*FROM学生表ORDER BY入校总分ASCB.SELECT FROM学生表ORDER BY入校总分DESCC.SELECT FROM学生表TOP 3 ORDER BY入校总分ASCD.SELECT FROM学生表TOP 3 ORDER BY入校总分DESC

限制从EMP表中只选出前5条记录的查语句为()。 A.SELECT TOP 5 * FROM EMPB.SELECT DISTINCT 5 * FROM EMPC.SELECT * FROM EMP WHERE ROWNUM6D.SELECT * FROM EMP WHERE ROWNUM=5

成绩表grade中字段score代表分数,以下()语句返回成绩表中的最低分。(选择两项)A、select max(score) from gradeB、select top 1 score from grade order by score ascC、Select min(score) from gradeD、select top 1 score from grade order by score desc

以下()语句从表TABLE_NAME中提取前10条记录。A、select * from TABLE_NAME where rowcount=10B、select TOP 10 * from TABLE_NAMEC、select TOP of 10 * from TABLE_NAMED、select * from TABLE_NAME where rowcount=10

下列查询年龄最大的前四个学生(包括并列的情况)的语句,正确的是()。A、SELECT TOP 4 WITH TIES * FROM Student ORDER BY Sage ASCB、SELECT TOP 4 WITH TIES * FROM Student GROUP BY Sage ASCC、SELECT TOP 4 WITH TIES * FROM Student ORDER BY Sage DESCD、SELECT TOP 4 WITH TIES * FROM Student GROUP BY Sage DESC

在ACCESS“学生”表中有学号、姓名、性别、入学成绩、身高字段。现需查询女生中身高最高的前三个学生的记录信息,正确的SQL语句是()。A、select * from学生 Where性别=”女”Group by身高B、select * from学生 Where性别=”女”order by身高C、select TOP3* from学生 Where性别=”女”Group by身高D、select TOP3* from学生 Where性别=”女”order by身高

V5.x系统中,用SQL语句查询Sybase版本的语句是()A、select ##versionB、select ##version from masterC、select @@version from masterD、select @@version

一个电视经销商在表Tvtype中维护库存的电视信息,下述()语句能显示价格(iprice)最昂贵的三种电视机的信息(cDiscription)A、select top3 cDiscription fromTvtype order by iprice ascB、select cDiscription from Tvtype where max(iprice)3C、select top3 cDiscription from Tvtype order by iprice descD、selec tcDiscription max(iprice)from Tvtype order by iprice

查询金额最大的那10%订单的信息。正确的SQL语句是()。A、SELECT * TOP 10 PERCENT FROM 订单B、SELECT TOP 10% * FROM 订单 ORDER BY 金额C、SELEC T* TOP 10 PERCENT FROM 订单 ORDER BY 金额D、SELECT TOP 10 PERCENT * FROM 订单 ORDER BY 金额 DESC

现有书目表book,包含字段:price(float);现在查询一条书价最高的书目的详细信息,以下语句正确的是()A、select top 1 * from book order by price ascB、select top 1 * from book order by price descC、select top 1 * from book where price= (select max (price)from book)D、select top 1 * from book where price= max(price)

现有表Employee,字段:id(int)、firstname(varchar)、lastname(varchar);以下sql语句错误的是()A、select firstname+’.’+lastnameas’name’from employeeB、select firstname+’.’+lastname=’name’from employeeC、select’name’=firstname+’.’+lastnamefrom employeeD、select firstname,lastname from employee

成绩表grade中字段st_id代表学号,score代表分数,以下()语句返回成绩表中的最低分。A、SELECT max(score) FROM gradeB、SELECT TOP 1 score FROM grade ORDERBY score ASCC、SELECT st_id,MIN(score) FROM gradeD、SELECT TOP 1 score FROM grade ORDERBY score DESC

Examine the structure of the EMPLOYEES and NEW_EMPLOYEES tables: EMPLOYEES EMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHAR2(25) LAST_NAME VARCHAR2(25) HIRE_DATE DATE NEW_EMPLOYEES EMPLOYEE_ID NUMBER Primary Key NAME VARCHAR2 (60) Which DELETE statement is valid?()A、DELETE FROM employees WHERE employee_id = (SELECT employee_id FROM employees);B、DELETE * FROM employees WHERE employee_id = (SELECT employee_id FROM new_ employees);C、DELETE FROM employees WHERE employee_id IN (SELECT employee_id FROM new_employees WHERE name = 'carrey');D、DELETE * FROM employees WHERE employee_id IN (SELECT employee_id FROM new_employees WHERE name = 'carrey');

限制从EMP表中只选出前5条记录的查语句为()。A、SELECT TOP 5 * FROM EMPB、SELECT DISTINCT 5 * FROM EMPC、SELECT * FROM EMP WHERE ROWNUM6D、SELECT * FROM EMP WHERE ROWNUM=5

单选题SQL语句“select count(*)from employee”,需要SqlCommand对象的哪一个方法在执行()。AExecuteNonQuery()BExecuteScalar()CEndExecuteReader()DExecuteXmlReader()

多选题现有书目表book,包含字段:price(float);现在查询一条书价最高的书目的详细信息,以下语句正确的是()Aselect top 1 * from book order by price ascBselect top 1 * from book order by price descCselect top 1 * from book where price= (select max (price)from book)Dselect top 1 * from book where price= max(price)

单选题使用select top 5 * from employee语句得到的结果集中有()条记录。A10B2C5D6

单选题Examine the structure of the EMPLOYEES and NEW_EMPLOYEES tables: EMPLOYEES EMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHAR2 (25) LAST_NAME VARCHAR2 (25) HIRE_DATE DATE NEW EMPLOYEES EMPLOYEE_ID NUMBER Primary Key NAME VARCHAR2 (60) Which DELETE statement is valid? ()ADELETE FROM employees WHERE employee_id = (SELECT employee_id FROM employees);BDELETE * FROM employees WHERE employee_id = (SELECT employee_id FROM new_ employees);CDELETE FROM employees WHERE employee_id IN (SELECT employee_id FROM new_employees WHERE name = ('Carrey')'DDELETE * FROM employees WHERE employee_id IN (SELECT employee_id FROM new_employees WHERE last_ name = ('Carrey')'

单选题以下()语句从表student中提取前5条记录。Aselect * from student where rowcount=5Bselect TOP of 5*from studentCselect TOP5 * from studentDselect * from student where rowcount=5