SQL组装复杂查询条件,SELECT..FROM..(LEFT|RIGHT|INNER)JOIN..ON..WHERE....GROUPBY..HAVING..ORDERBY..LIMIT..