有学生表如下:
CREATE TABLE students (
s_id VARCHAR(20) PRIMARY KEY,
s_name VARCHAR(20) NOT NULL DEFAULT '',
s_birth VARCHAR(20) NOT NULL DEFAULT '',
s_sex VARCHAR(10) NOT NULL DEFAULT ''
);
现要查询students表的第16~20条数据,正确的查询语句是CREATE TABLE students (
s_id VARCHAR(20) PRIMARY KEY,
s_name VARCHAR(20) NOT NULL DEFAULT '',
s_birth VARCHAR(20) NOT NULL DEFAULT '',
s_sex VARCHAR(10) NOT NULL DEFAULT ''
);
现要查询students表的第16~20条数据,正确的查询语句是select * from students limit 15,5;
select * from students limit 16,5;
select * from students limit 16,20;
select * from students limit 15,20;