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;
时间: 2024-10-05 06:10:57
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;