mysql 2个数据表关联查询

mysql 2个数据表关联查询(tableA,tableB)

select a,b from tableA,tableB where tableA.m = tableB.m

select a,b from tableA left join tableB on  tableA.m = tableB.m

select a,b from tableA left join tableB using (m)

的查询结果是相同的

 

posted @ 2013-02-18 14:41  klj123wan  阅读(631)  评论(0编辑  收藏  举报