create table t_student(sid INTEGER primary key autioincrement, sname varchar(20));
insert into t_student(sid,sname) values (1,'coolszy');
select sid,sname from t_student;
update t_student set sname='kuka' where sid=2;
delete from t_student where sid = 2;
select sid,sname from t_student limit (2,3);//2代表起始位置,3代表长度
insert into t_student(sid,sname) values (1,'coolszy');
select sid,sname from t_student;
update t_student set sname='kuka' where sid=2;
delete from t_student where sid = 2;
select sid,sname from t_student limit (2,3);//2代表起始位置,3代表长度
本文详细介绍了如何使用SQL创建、插入、更新和删除数据库表中的数据,以及使用LIMIT进行数据检索的基本操作。

被折叠的 条评论
为什么被折叠?



