0
2

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で主に扱う4構文について

0
Posted at

今回のテーマ:SQLで主に扱う4つの構文について

  • 書いた理由:SELECT, UPDATE, INSERT, DELETE など学習していく中でそれぞれの書き方を整理するため。
  • SQLで主に扱う4構文についての備忘録

[目次]

[本題]

取得

```sql SELECT カラムA, カラムB FROM テーブル名; ```

挿入

```sql INSERT INTO テーブル名 (カラムA, カラムB...) VALUES (値1, 値2...); ```

更新

```sql UPDATE テーブル名 SET カラムA = 値1, カラムB = 値2 WHERE 条件; ```

削除

```sql DELETE FROM テーブル名 WHERE 条件; ```
0
2
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
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?