时间:2021-07-01 10:21:17 帮助过:2人阅读
mysqldump -u username -p password -h hname dbname tblname > file.sql
mysql -u username -p password -h hname dbname < file.sql
alter TABLE addfunds_0 CHANGE topup_type topup_type enum(‘1‘,‘2‘,‘3‘);
这个我能记住,嗯。
show create table tablename;
alter table addfunds_0 add column payout_id bigint(18) after updatetime;
alter table addfunds_0 drop column payout_id;
alter table addfunds_0 convert to character set gbk;
show character set;
select count(distinct qid) as cnt from table ;
alter table tablename add index index_name(field_name);
难以记住的sql语句
标签: