Lua SQLite 2 reference manual
Lua SQLite 3 reference manual