标签:
1. 显示所有表
show tables;
还有information_schema数据库里面有tables表,记录了所有表信息
use information_schema; select * from tables;
2. MySQL联合查询更新
update a , b set a.name= b.username where a.id= b.id;
标签:
原文地址:http://www.cnblogs.com/angelshelter/p/3809003.html