摘要:
1.创建账号 #本地账号 create user '用户名'@'localhost' identified by '密码'; #远程账号(只能在一台客户端192.168.31.10上登录的账号) create user '用户名'@'客户端IP地址(192.168.31.10)' identifie 阅读全文
摘要:
1.内连接(只取两张表的共同部分) # 将表employee 和 department 的相同部分根据employee表中的dep_id字段和department表中的id字段连接起来。 select * from employee inner join department on employee 阅读全文