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)
更多精彩内容:各种AI课程、技能课程、黑科技软件、网站小程序源码、副业小项目、PPT模板等精品素材、电商课程、推广引流课程等,尽在 天边资源网 。
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)