select * from student where roll-no in (30 to 50)
student
是表名,roll_no, first_name, last_name, add
是列
如何打印30到50之间的学生资料?
答案 0 :(得分:1)
您需要使用where子句,其范围如下:
select * from student where [roll-no] >= 30 and [roll-no] <= 50;
答案 1 :(得分:0)
select * from student
where roll-no between 30 and 50