MySql 中 USING 的用法
发布于:2019-11-27 10:30 作者:song100e 浏览:457 分类:MySQLusing 等价于 in 操作中的 on,例如 a 和 b 根据 id 字段关联,那么以下等价 using(id) 和 on a.id=b.idselect a.name, b.age from test as a join test2 as b on a.id=b.id select a.name, b.age from test as a join test2 as b using(id)