慕容的工作随笔

慕容的工作随笔

记录学习和工作

MySQL中的USING

USING等价于join on中的on,联合查询时会用到

例如:

select a.id,b.name from table_a a join table_b b on a.id = b.id

等价于:

select a.id,b.name from table_a a join table_b b USING(id)

评论 (0)

还没有评论,来做第一个吧。

发表评论

提交后需管理员审核通过后显示