課程
/數據庫
/MySQL
/與MySQL的零距離接觸
這個怎么寫?
2016-08-12
源自:與MySQL的零距離接觸 3-5
正在回答
create table mytest(???? id smallint primary key auto_increment ,??? name varchar(20) not null,??? age smallint not null,??? city varchar(20) not null??? );
alter table mytest drop city,add newcity varchar(30) not null;
yuhq 提問者
用不含參數的函數或存儲都可以
舉報
本課程涵蓋全部MySQL數據庫的基礎,學習MySQL數據庫的基礎知識
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2016-08-12
create table mytest(
???? id smallint primary key auto_increment ,
??? name varchar(20) not null,
??? age smallint not null,
??? city varchar(20) not null
??? );
alter table mytest drop city,add newcity varchar(30) not null;
2016-08-12
用不含參數的函數或存儲都可以