0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

データベースとSQLについて

Posted at

SQL:リレーショナルデータベース(RDB)の操作を行うための言語

SQLを学ぶ理由:データの削除、更新、検索について学習する必要がある。

データの登録
→INSERT文
例)
INSERT INTO テーブル名 VALUES(値1, 値2, 値3);
INSERT INTO テーブル名(カラム名1, カラム名2) VALUES(値1, 値2);
の2種類ある

入力したデータの確認方法としては
SELECT * FROM テーブル名
で行う

データの更新
→UPDATE文
例)
UPDATE テーブル名 SET 変更内容 WHERE 条件;

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?