摘要: 权限管理 1、创建账号 # 本地账号 create user 'egon1'@'localhost' identified by '123'; # mysql -uegon1 -p123 # 查看所有用户 select host ,user,authentication_string from us 阅读全文
posted @ 2018-05-07 22:18 Mr。yang 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 多表查询 多表连接查询 复合条件连接查询 子查询 一、准备表 #建表 create table department( id int, name varchar(20) ); create table employee( id int primary key auto_increment, name 阅读全文
posted @ 2018-05-07 21:47 Mr。yang 阅读(255) 评论(0) 推荐(0) 编辑