USING等价于JOIN中on,联表查询会用到
ex:
select a.id,b.name from tableA a join tableB b on a.id = b.id
等价于:
select a.id,b.name from tableA a join tableB b USING(id)
USING等价于JOIN中on,联表查询会用到
ex:
select a.id,b.name from tableA a join tableB b on a.id = b.id
等价于:
select a.id,b.name from tableA a join tableB b USING(id)