ダウンロード †使い方 †データベースを開く(新規作成) †$ sqlite3 db1.sqlite ※後ろはファイル名(存在しなければ作成) ユーティリティコマンド †
連番について †
テーブルの作成 †sqlite> CREATE TABLE <テーブル名> (id,name);
データの挿入 †sqlite> insert into <テーブル名> (<データ1>,<データ2); 日付のフォーマット †select strftime('%Y-%m-%d %H:%M:%S','2000-01-01 12:34:56'); CSVの出力 †sqlite> .mode csv <テーブル名> sqlite> .output <ファイル名> sqlite> select * from <テーブル名> |