下面选项,对字段进行排序时,默认采用的排序方式是()
查看答案
向表中name字段添加值为youjun,grade字段值为55,的正确SQL语句是() (多选)
A. INSERT INTO student(name, grade)VALUES('youjun', 55);
B. INSERT INTO student(grade,name)VALUES(55,'youjun');
C. INSERT INTO student(‘grade’,’name’)VALUES(55,'youjun');
D. INSERT INTO student(grade,’name’)VALUES(55,”youjun”);
阅读下面代码: create table user( id varchar(32), name varchar(50) ); insert into user(name) values('jack'); 关于上述sql语句的描述,正确的是() (多选)
A. 执行当前sql语句将产生错误
B. 添加一个记录,name字段的值为jack
C. 添加一个记录,id字段的值为null
D. 添加一个记录,id字段的值为空串
下面选项中,可以清空表数据的SQL语句是()(多选)
A. delete from user;
B. drop from user;
C. truncate table user;
D. delete from user where 1=1;
阅读下面SQL代码:CREATE TABLE student(id INT(3) PRIMARY KEY AUTO_INCREMENT,name VARCHAR(20) NOT NULL,grade FLOAT,);下面选项中,用于查询表中所有记录信息的SQL语句是()(多选)
A. SEELCT * FROM student;
B. SEELCT id,name FROM student LIMIT 2,3;
C. SEELCT id,name,grade FROM student;
D. SEELCT id,name FROM student;