sqlite3でテーブルの一覧を取得する場合、以下のようにコマンドを実行する。
.tables
もしくは
select name from sqlite_master where type='table';
で一覧が取得出来る。
sqlite> .table TEST sqlite> select name from sqlite_master where type='table'; TEST
テーブルのCREATE文を見る場合は、以下のようにコマンドを実行する。
.schema テーブル名
sqlite> .schema TEST CREATE TABLE TEST ( ID nchar(6), NAME int, Date datetime );
