LoginSignup
1
0

More than 5 years have passed since last update.

個人学習メモ#9 

Last updated at Posted at 2018-07-28

データベースのテーブル構造
excelのようなモノと似ている。

構造

テーブル
ーーフィールド
ーーレコード

webサービスやアプリを作る際に、それぞれのアプリ一つにつき「データベース」を1つ作る

データベースの中にたくさんのテーブルがあって、テーブルの中に「フィールド(テーブルの列)」・「レコード(テーブルの行)」がある。

テーブルの種別に関して

intーデータ番号、数量

varcharー名前、タイトル、メールアドレスなどの短い文字列

textー長い文字列、ブログ記事、メール本文など

datetimeー投稿日時、最終更新日など

今日学んだコマンド

テーブルの削除 DELETE FROM テーブル名

1
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
1
0