MySQLの操作

基本操作

show databases; データベースの一覧
use [database];  データベースの選択
show tables;   テーブルの一覧

alter table [テーブル名] add [カラム名] [属性] カラムの追加
update [テーブル名] set [カラム名1]=”[値1]” where [カラム名<2]=[値2];

久しぶり。。。

コメント

タイトルとURLをコピーしました