alter table person add balence integer; --修改表
create table person (id integer primary key autoincrement, name varchar(20)); --创建表
SELECT id, name, balance FROM person LIMIT ?,?", new String[]{offset , len}
SELECT * FROM table LIMIT 5,10; // 检索记录行 6-15
//为了检索从某一个偏移量到记录集的结束所有的记录行,可以指定第二个参数为 -1:SELECT * FROM table LIMIT 95,-1;
//返回前5行数据 SELECT * FROM table LIMIT 5;
create table person (id integer primary key autoincrement, name varchar(20)); --创建表
SELECT id, name, balance FROM person LIMIT ?,?", new String[]{offset , len}
SELECT * FROM table LIMIT 5,10; // 检索记录行 6-15
//为了检索从某一个偏移量到记录集的结束所有的记录行,可以指定第二个参数为 -1:SELECT * FROM table LIMIT 95,-1;
//返回前5行数据 SELECT * FROM table LIMIT 5;