执行程序 select * from 表 1 join 表 2 on xxx where xxx group by xxx having xxx order by limit xxx 先关联表 joinwheregroup byhavingselectorder bylimit