题目内容

阅读下面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;

查看答案
更多问题

请选择正确的单表查询基本SQL

A. SELECT * FROM 表名 where 表达式
B. SELECT * FROM 表名 order by 列名
C. SELECT 列1,列2 FROM 表名 group by 列名
D. SELECT 列1,sum(列2) FROM 表名 group by sum(列2) order by 列1

假设有学生表tb_student,请问统计学生总人数,正确的语句是()

A. Select sum(*) from tb_student
B. Select count(*) from tb_student
C. Select count(学号) from tb_student
D. Select max(*) from tb_student

请选取正确的集合运算的关键字()

A. union
B. intersect
C. except
D. all

下面选项中不能进行模糊查询的是( )。

A. OR
B. NOT IN
C. NOT Between
D. LIKE

答案查题题库