script1

来自「这是Getting Started With Sqlite 的相关示例代码和帮助」· 代码 · 共 20 行

TXT
20
字号
--  This is an example of last_insert_rowid()------PRAGMA synchronous=OFF;select * from test;insert into test (b) values (3);select last_insert_rowid();insert into test (b) values (last_insert_rowid() + 4);insert into test (b) values (last_insert_rowid() + 4);insert into test (b) values (last_insert_rowid() + 4);insert into test (b) values (last_insert_rowid() + 4);insert into test (b) values (last_insert_rowid() + 4);insert into test (b) values (last_insert_rowid() + 4);insert into test (b) values (last_insert_rowid() + 4);insert into test (b) values (last_insert_rowid() + 4);select case b when 1 then 'one' when  2 then 'two' else 'other' end  from test;.tables.q

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?