查询语句“SELECT name,sex,birthday FROM human”返回()列。A、1B、2C、3D、4
查询语句“SELECT name,sex,birthday FROM human”返回()列。
- A、1
- B、2
- C、3
- D、4
相关考题:
●已知有关系模式R(S_NO,S_NAME,AGE),其中S-NO表示学生的学号,类型为Char[8],前4位表示入学年份。查询所有2005年入学的学生姓名(S_NAME),SQL语句是 (24) 。(24) A.SELECT S_NAME FROM R WHERE S_NO=′2005%′B.SELECT S_NAME FROM R WHERE S_NO LIKE ′2005%′C.SELECT S_NAME FROM R WHERE S_NO=′2005%′D.SELECT S_NAME FROM R WHERE S_NO ′2005%′
22 】 . 执行下列 SQL 语句:SELECT 学号,姓名 FROM ,学生 WHERE ,专业号 IN ( SELECT 专业号 FROM 专业 WHERE 专业名 = ‘ 软件工程 ’ )则其执行结果中的元组数是A . 1B . 2C . 3D . 4
检索所有比“王华”年龄大的学生的姓名、年龄和性别,正确的SELECT语句是______。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
实现“从学生信息表中找出性别为女的学生姓名”的SQL语句是A.SELECT*FROMsB.SELECT*FROM s WHERE sex='女'C.SELECT sname FROM s WHERE sex='女'D.SELECT*FROM s WHERE grade="
检索所有比"王华"年龄大的学生姓名、年龄和性别。正确的SELECT语句是() A、SELECT SN,AGE,SEX FROM SSHERE AGE>(SELECT AGE FROM S)WHERE SN=’王华’)B、SELECT SN,AGE,SEXFROM SWHERE SN=’王华’C、SELECT SN,ACE,SEX FROM SWHERE AGE>(SELECT ACEWHERE SN=’王华’)D、SELECT SN,ACE,SEX FROM SWHERE ACE>王华AGE
对于基本表S(S#,Name,Sex,Birthday)和SC(S#,C#,Grade),其中S#、Name、Sex、Birthday、C#和G rade分别表示学号、姓名、性别、生日、课程号和成绩。与下列SQL语句等价的关系代数式是______。 SELECT S#,Name FROM S WHERE S# NOT IN (SELECT S# FROM SC WHERE C#='c102')。A.πS#,Name(σC#≠'c102'(SSC))B.πS#,Name(S)-πS#,Name(σC#≠'c102'(SSC))C.πS#,Nmne(SσC#≠'c102'(SC))D.πS#,Name(S(SC))
对于基本表S(S#,NAME,SEX,BIRTHDAY)和SC(S#,C#,ORADE),其中S#、NAME、 SEX、BIRTHDAY、C#和GRADE分别表示学号、姓名、性别、生日、课程号和年级。有一 SQL语句:SELECT S#,NAMEFROM SWHERE S# NOTIN(SELECT S#FROM SCWHERE C#='C102');其等价的关系表达式是______。A.πS#.NAME(σC#≠'C102'(SSC) )B. πS#.NAME(S)-πS#.NAME(σC#='C102'(SSC) )C.πS#.NAME(SσC#≠'C102'(SC) )D.πS#.NAME(S(SC) )
对于基本表S(S#,NAME,SEX,BIRTHDAY)和SC(S#,C#,GRADE),其中S#,NAME,SEX, BIRTHDAY,C#和GRADE分别表示学号、姓名、性别、生日、课程号和成绩。有一SQL语句:SELECT S# NAMEFROM SWHERE S# NOT IN(SELECT S#FROM SWHERE C#='c102');其等价的关系代数表达式是(40)。A.B.C.D.
当需要查询Oracle的控制文件的名称、位置和状态时,可以使用()语句。 A.SELECT name FROM V$CONTROLFILEB.SELECT name FROM V$CTRLLFILEC.SELECT name FROM V$USERFILESD.SELECT name FROM V$DBAFILE
要查询book表中所有书名以“电子商务”开头的书籍作者,可用(61)语句。A.SELECT author FROM booK WHERE book _name=‘电子商务*’B.SELECT author FROM booK WHERE book _name LIKE‘电子商务*’C.SELECT author FROM booK WHERE book_ name=‘电子商务%’D.SELECT author FROM booK WHERE book_name LIKE‘电子商务%’
下列哪个语句查出雇员表(employees)里的雇员名字(ename)是‘SMITH’的信息,并且给雇员名字(ename)列定义一个别名Name()。A、select employeesno,ename Name,job from employees where ename=‘SMITH’B、select employeesno,ename ‘Name’,job from employees where ename=SMITHC、select employeesno,ename “Name”,job from employees where ename=‘SMITH’D、select employeesno,ename ‘Name’,job frome mployees wheree name=‘SMITH’
"在下面给出的SQL语句中,()代码会导致语句的失败。 1 SELECT LastName,FirstName,Email 2 From Customers,EmailUsers 3 ON Customers.UserName=EmailUsers.UserName 4 ORDER BY LastName ASC"A、1B、2C、3D、4
数据库中有一张表名称为Student,有列Name,Age,IDCard,Sex。要求写SQL语句查询出表中所有的数据,下列哪个SQL语句是正确的()A、Select* From StudentB、Select Name From StudentC、Select Name,Age,IDCard From StudentD、Select Name,Age,IDCard,Sex From Student
数据库中有一张表名称为Student,有列Number,Name,Age,IDCard,Sex。主键为Number。要求查询所有男同学信息,下列哪个SQL语句是正确的?()A、Select* From Student Where Sex=’男’B、Select* From Student Where Number NotIn(Select Number From Student Where Sex=’男’)C、Select* From Student Where NumberIn(Select Numbe rFrom Student Where Sex=’男’)D、Select* From Student Where Sex’男’
数据库中有一张表名称为Student,有列Number,Name,Age,IDCard,Sex。主键为Number。统计学生总人数,下列哪个SQL语句是正确的()A、Select Count(1)From StudentB、Select Sum(*)From StudentC、Selec tAvg(*)From StudentD、Select Count(*)From Student
数据库中有一张表名称为Student,有列Name,Age,IDCard,Sex。要求写SQL语句查询出表中年龄介于20和30岁之间的数据,下列哪个SQL语句是正确的?()A、Select* From Student Where Age=20 ANDAge=30B、Select* From Student Where Age=20 ANDAge=30C、Select* From Student Where Age BET WENN 20AND30D、Select* From Student Where Age=20Age=30"
数据库中有一张表名称为Student,有列Name,Age,IDCard,Sex。要求查询所有男同学信息,下列哪个SQL语句是正确的?()A、Select*FromStudentWhereSex=’男’B、Select*FromStudentWhereSex’女’C、Select*FromStudentWhereSexLike’男’D、Select*FromStudentWhereSexIn’男’
当需要查询Oracle的控制文件的名称、位置和状态时,可以使用()语句。A、SELECT name FROM V$CONTROLFILEB、SELECT name FROM V$CTRLLFILEC、SELECT name FROM V$USERFILESD、SELECT name FROM V$DBAFILE
当需要返回当前用户的名字,可以执行如下()SQL语句。A、SELECT user FROM V$DBAB、SELECT user FROM dualC、SELECT name FROM dualD、SELECT name FROM V$DBA
下列哪些SQL语句可以查询出User表中name为张三的记录()。A、SELECT * FROM User WHERE name = ’张三’B、SELECT * FROM User WHERE name = ’张三’ LIMIT 0,1C、SELECT * FROM User WHERE name LIKE ’张三’D、SELECT * FROM User WHERE name LIKE ’%张三%’
多选题BookStore数据库中有客户表Customer(CustomerCode,Name,Sex,Hometown,Email,Telephone,LoginDate,Password)查询Customer表中所有客户的信息,SQL语句:SELECT()FROMCustomerA*BCustomerCode,Name,Hometown,Sex,Email,Telephone,LoginTime,PassWordCCustomerCode,Hometown,Telephone,Name,Sex,Email,LoginTime,PassWordDCustomerCode~PassWord
单选题BookStore数据库中有客户表Customer(CustomerCode,Name,Sex,Hometown,Email,Telephone,LoginDate,Password)查询Customer表中所有客户的信息,要求显示CustomerCode、Name、Hometown和Telephone字段信息。SQL语句:SELECT()FROM CustomerA*BALLCCustomerCode、Name、Hometown、TelephoneDCustomerCode,Name,Hometown,Telephone
多选题数据库中有一张表名称为Student,有列Number,Name,Age,IDCard,Sex。主键为Number。要求查询所有男同学信息,下列哪个SQL语句是正确的?()ASelect* From Student Where Sex=’男’BSelect* From Student Where Number NotIn(Select Number From Student Where Sex=’男’)CSelect* From Student Where NumberIn(Select Numbe rFrom Student Where Sex=’男’)DSelect* From Student Where Sex’男’
多选题数据库中有一张表名称为Student,有列Name,Age,IDCard,Sex。要求写SQL语句查询出表中所有的数据,下列哪个SQL语句是正确的()ASelect* From StudentBSelect Name From StudentCSelect Name,Age,IDCard From StudentDSelect Name,Age,IDCard,Sex From Student