本文共 780 字,大约阅读时间需要 2 分钟。
删除arch和data目录
create database db;
grant all privileges on db.* to user@'198.168.137.110' identified by '123456';flush privileges;
%表示任意ip
update mysql.user set host='%' where user = 'user';flush privileges;desc tb_name;
show columns from tb_name;order by xxx
默认为升序group by having
group by 的字段要在查询字段中就是查询结果形成的临时表
union 会去重 union all不去重
like '__j%'
left join,right join,inner join
左表
转载于:https://blog.51cto.com/10814168/2121745