摘要:
1.约束概念 2.外键约束 -- alter table class add constraint aaa foreign key(年龄) references te(id); -- alter table class drop foreign key aaa; 阅读全文
posted @ 2024-03-26 20:34
aliex23k65
阅读(8)
评论(0)
推荐(0)
摘要:
1.字符串函数 2.数值函数 3.日期函数 4.流程函数 -- show databases; -- create table test.class(id VARCHAR(10)); -- use test; -- show tables; -- create table qw(name VARCH 阅读全文
posted @ 2024-03-26 10:49
aliex23k65
阅读(12)
评论(0)
推荐(0)
摘要:
一.用户管理 1.查询用户 use mysql; select * from user; 2.创建用户 create user 'zzz'@'%' identified by '123456'; create user 'zzz'@'localhost' identified by '123456' 阅读全文
posted @ 2024-03-26 08:45
aliex23k65
阅读(4)
评论(0)
推荐(0)

浙公网安备 33010602011771号