MYSQL | ティア https://tiero.jp/magazine グローバル人材向けマガジン Tue, 05 Mar 2019 13:13:15 +0000 ja hourly 1 https://wordpress.org/?v=6.4.3 https://tiero.jp/magazine/wp-content/uploads/2019/02/cropped-cropped-favicon-32x32.png MYSQL | ティア https://tiero.jp/magazine 32 32 MYSQLの操作メモ https://tiero.jp/magazine/mysql/ Sun, 03 Feb 2019 07:12:19 +0000 http://tiero.jp/magazine/?p=1149 Contents ■ 立ち上げ時■ 立ち上げ時 ログイン $ mysql -u root データベースを指定 mysql> use xxx テーブルの一覧を確認 mysql> show tables; テーブ …

The post MYSQLの操作メモ first appeared on ティア.]]>
Contents
  • ■ 立ち上げ時
  • ■ 立ち上げ時

    ログイン
    $ mysql -u root

    データベースを指定
    mysql> use xxx

    テーブルの一覧を確認
    mysql> show tables;

    テーブルの設計を確認
    mysql> describe xxx;

    テーブルからカラムの削除:
    Alter table (テーブル名)drop column  (カラム名);

     

    The post MYSQLの操作メモ first appeared on ティア.]]>