多选题数据库中有一张表名称为Student,有列Number,Name,Age,IDCard,Sex。主键是Number,数据类型为Varchar(20)。要求写删除学号为“20140001”的学生,下列哪个SQL语句是正确的()ADelete Student‘20140001’BDelete Student“20140001”CDelete Student Where Number=‘20140001’DDelete From Student Where Number=”20140001”
多选题
数据库中有一张表名称为Student,有列Number,Name,Age,IDCard,Sex。主键是Number,数据类型为Varchar(20)。要求写删除学号为“20140001”的学生,下列哪个SQL语句是正确的()
A
Delete Student‘20140001’
B
Delete Student“20140001”
C
Delete Student Where Number=‘20140001’
D
Delete From Student Where Number=”20140001”
参考解析
解析:
暂无解析
相关考题:
假设有如下的记录类型: Type Student number As String name AS String age As Integer End Type 则正确引用该记录类型变量的代码是______。A.Student. name="" s. name="张红"B.Dim s As Student s. Dame="张红"C.Dim s As Type Student s. name="张红"D.Dim s As Type s. name="张红"
设有如下的用户定义类型: Type Student number As String name As string age As Integer End Type 则以下正确引用该类型成员的代码是______。A. Student name="李明”B.Dim s As Student s.name="李明"C.Dim s As Type Student s.name="李明"D.Dim s As Type s.name="李明"
学生表(id,name,sex,age,depart_id,depart_name),存在的函数依赖是id→{name,sex,age,depart_id};dept_id→dept_name,其满足()、 A、1NFB、2NFC、3NFD、4NF
学生表(id,name,sex,age,depart_id,depart_name),存在函数依赖是id→name,sex,age,depart_id;dept_id→dept_name,其满足()。 A、1NFB、2NFC、3NFD、BCNF
设有学生数据库:student(sno,sname,sex,age,dept)。现要查询所有刘姓学生的信息,可使用如下的 SQL语句:SELECT*FROM student WHERE【 】。
新建数据库student.mdb,将考生文件夹中的student.xls导入到student数据库,第一行包含列标题,设置“学号”字段为主键,将导入表命名为“学生信息”。(2)将“选课.xls”以“选课”为表名导入student数据库,第一行包含列标题,设置选课ID为主键。“课程”表显示情况如图所示。(3)将学生信息表按照“学号”字段降序排列,设置单元格格式为“凸起”。学生信息表结果如图所示。
设有如下的记录类型: TypeStudent number As String name AS String age As Integer End Type 则正确引用该记录类型变量的代码是( )。A.Student.name="张红"B.Dim s As Student s.name="张红"C.Dim s As Type Student s.name="张红"D.Dim s As Type s.name="张红"
设有如下的记录类型: Type Student Number As String Name As String Age As Integer End Sub 则能正确引用该记录类型变量的代码是( )。A.Student.name=""B.Dim s As Students.name=“张红”C.Dims As Tye Students.name=“张红”D.DimsAsTypes.name=“张红”
有如下语句: Type Student Name As String Age As Integer Sex As String End Type Dim Stu As Student With Stu .Name="张红" .Age=22 .Sex="女" End With 执行Print Stu.Age语句后的结果是A.张红B.22C.“女”D.Age
如果学生表STUDENT是使用下面的SQL语句创建的CREATE TABLE STUDENT(SNO C(4) PRIMARY KEY NOT NULL,;SN C(8),;SEX C(2),;AGE N(2) CHECK(AGE>15 AND AGE<30))下面的SQL语句中可以正确执行的是A.INSERT INTO STUDENT(SNO,SEX,AGE)VALUES (“S9”,“男”,17)B.INSERT INTO STUDENT(SN,SEX,AGE)VALUES (“李安琦”,“男”,20)C.INSERT INTO STUDENT(SEX,AGE)VALUES (“男”,20)D.INSERT INTO STUDENT(SNO,SN)VALUES (“S9”,“安琦”,16)
阅读下列XML文档,回答问题1至问题4,将解答填入对应栏内。【XML文档】<? Xml version= "1.0" encoding=" GB2312 "?><!—以下是文档的主体部分→<college><title>希赛教育</title><head>软考培训部</Head><Stu_Num unit="人">2</Stu_Num><Student><Name>张网管</Name><Age>21 </Age><Sex>男</Sex><Class>软考2班</Class></Student><Student><Name>李软设</Name><Age>20</Age><Sex>女</Sex><Class>软考3班</Class></Student></College>与HTML相比,XML具有哪些特点?
对于学生信息表STUDENT(SNO, SNAME,SEX,AGE,DEPT)(STUDENT由学号SNO、姓名SNAME、性别SEX、年龄AGE、所在系DEPT 5个属性组成,其中SNO为主码),求年龄20~23岁之间的学生姓名和年龄,正确的语句是( )。A.SELECT SNAME,AGE FROM STUDENT WHERE AGE20 AND AGE23B. SELECT*FROM STUDENT WHERE AGE BETWEEN 20 AND 23C.SELECT SNAME,AGE FROM STUDENT WHERE AGE BETWEEN 20 AND 23D.以上均不正确
如果学生表STUDENT是使用下面的SQL语句创建的: CREATE TABLE STUDENT(SNO C(4)PRIMARY KEY NOT NULL. SN C(8), SEX C(2), AGE N(2)CHECK(AGE15 AND AGE25)) 下面的SQL语句中可以正确执行的是( )。A. INSERT INTO STUDENT(SN,SEX,AGE)VALUES(”王磊”,”男”,20)B. INSERT INTO STUDENT(SN0,SEX,AGE)VALUES(”S9”,”男”,17)C. INSERT INTO STUDENT(SEX,AGE)VALUES(”男”,20)D. INSERT INTO STUDENT(SN0,SN,AGE)VALUES(”S9”,”王磊”,14)
对于数据表:student(sno,sname,sex,age,grade),查询学习成绩为空的学生的学号和姓名,下面语句正确的是______。A.SELECT sno,sname FROM student WHERE gade=NULLB.SELECT sno,sname FROM student WHERE grade IS NULLC.SELECT sno,age FROM student WHERE grade IS NULLD.SELECT mo,age FROM student WHERE grade=NULL
如果学生表STUDENT是使用下面的SQL语句创建的 CREATE TABLE STUDENT(SNOC(4)PR1MARY KEY NOTNULL; SNC(8),; SEXC(2),; AGEN(2)CHECK(AGE>15AND AGE<30) 下面的SQI语句中可以正确执行的是 ______。A.INSERT INTO STUDENT(SNO,SEX,AGE)valueS("S9","男",17)B.INSERT INTO STUDENT(SNO,SEX,AGE)valueS(“李安琦”,“男”,20)C.INSERT INTO STUDENT(SEX,AGE)valueS(“男”,20)D.INSERT INTO STUDENT(SNO,SN)valueS("S9",“安琦”,16)
设有如下的记录类型: Type Student number As String name As String age As Integer End Type 则正确引用该记录类型变量的代码是______。A.StUdent.name=""B.Dim s As StUdent s.name="张红"C.Dim s As Type Student s.name="张红"D.Dim s As Type s.name="张红"
创建“student.mdb”数据库,将考生文件夹中的“student.txt”导入到数据库中,第一行包含列标题,学生ID为主键,导入表的名字为“student”。(2)设置“student”表单元格效果为“凹陷”。(3)将“student”表的关键字取消。“student”表如图所示。
BookStore数据库中有客户表Customer(CustomerCode,Name,Sex,Hometown,Email,Telephone,LoginDate,Password)查询Customer表中所有客户的信息,SQL语句:SELECT()FROMCustomerA、*B、CustomerCode,Name,Hometown,Sex,Email,Telephone,LoginTime,PassWordC、CustomerCode,Hometown,Telephone,Name,Sex,Email,LoginTime,PassWordD、CustomerCode~PassWord
数据库中有一张表名称为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
数据库中的中的PROFITS表中PRODUCT_NAME与SALE_PERIOD列建立主键。下列哪个语句无法定义这个主键?()A、create table profits(product_name varchar2(10),sale_perion varchar2(10),profit number, constraint pk_profits_01 primary key(product_name,sale_period))B、alter table profits add constraint pk_profits_01 primary key(product_name,sale_period)deferrablC、以上两者都是
若用如下的SQL语句创建一个student表:CREA TETABLE student(NO CHAR(4)NOT NULL,NAME CHAR(8)NOT NULL,SEX CHAR(2),AGE INT)可以插入到student表中的是()A、(’1031’,’曾华’,男,23)B、(’1031’,’曾华’,NULL,NULL)C、(NULL,’曾华’,’男’,’23’)D、(’1031’,NULL,’男’,23)
数据库中有一张表名称为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,有列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,有列Number,Name,Age,IDCard,Sex。主键是Number,数据类型为Varchar(20)。要求写删除学号为“20140001”的学生,下列哪个SQL语句是正确的()A、Delete Student‘20140001’B、Delete Student“20140001”C、Delete Student Where Number=‘20140001’"D、Delete From Student Where Number=”20140001”"
数据库中有一张表名称为Student,有列Name,Age,IDCard,Sex。要求查询所有男同学信息,下列哪个SQL语句是正确的?()A、Select*FromStudentWhereSex=’男’B、Select*FromStudentWhereSex’女’C、Select*FromStudentWhereSexLike’男’D、Select*FromStudentWhereSexIn’男’
单选题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 Count(1)From StudentBSelect Sum(*)From StudentCSelec tAvg(*)From StudentDSelect Count(*)From Student
单选题以下scanf函数调用语句中对结构体变量成员的不正确引用的是()。 struct node{ char name[20]; int age; int sex; }student[5],*p; p=student;Ascanf(“%s”,student[0].name);Bscanf(“%d”,student[0].age);Cscanf(“%d”,(p-sex));Dscanf(“%d”,p-age);