mysql的学习笔记(阶段一)

use mysql;
create table if not exists stu2
(
sid int(11),
name varchar(10),
gender varchar(10),
brith date

);
show table stu1;
show columns from stu1;
-- alter table stu2 add address varchar(10);
alter table stu2 add (address varchar(10),score int(10));
insert into stu2 values(1,"李自成","男","1000-12-12","北京",44),(2,"华佗","男","1201-12-13","三国",100);
select distinct * from stu2; #无重复记录查找
select * from stu1

mysql的学习笔记(阶段一)最先出现在Python成神之路

版权声明:
作者:Zad
链接:https://www.techfm.club/p/20739.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>