输入banner图图片脚本导航/分类

mysql连接

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.xxx

mysql连接

标签:xxx   mysql   left join   数据   mys   sql   没有   table   mysq