inner join
from table_a a inner join table_b b on a.xxx = b.xxx
left join
左连接会读取左表中的数据,即使右边中没有数据
from table_a a left join table_b b on a.xxx = b.xxx
right join
右连接会读取右表中的数据,即使左表中没有数据
from table_a a right join table_b b on a.xxx = b.xxxmysql连接
原文:http://blog.51cto.com/huwho/2312826