Autoincrement en sqlite
id INTEGER PRIMARY KEY Sqlite hace el autoincrement automáticamente si definimos el campo como INTEGER y PRIMARY KEY
id INTEGER PRIMARY KEY Sqlite hace el autoincrement automáticamente si definimos el campo como INTEGER y PRIMARY KEY
[code lang=”SQL”] SELECT id ,strtotime("%d/%m/%Y %H:%M:%S", datetime(fecha,"unixepoch")) as fecha ,tipo ,mensaje , "sesion: " || sesion || " " ||…
[bash] <pre>sqlite3 ~/.griffith/griffith.db ”select movie_id || ‘ – ‘ || title from movies where image IS NULL”</pre> [/bash]