from
on(判断条件)
join(join,left join,right join,inner join,cress join,full join)
where (过滤条件)
group by (分区)
having(限制条件)
distinct(去重)
order by (排序)
limit(限制条数)
from
on(判断条件)
join(join,left join,right join,inner join,cress join,full join)
where (过滤条件)
group by (分区)
having(限制条件)
distinct(去重)
order by (排序)
limit(限制条数)