SQL

データ型

データベースソフトウェアによってまちまちなようなので、各種ソフトウェアのドキュメントを参照するしかなさそうだ。

テーブルを作る

1 create table foo (x text, y int)

テーブルに挿入

1 insert into foo values('bar', 100);

テーブルを削除

1 drop table foo;

検索

1 select * from foo where x = 2;