sql分組查詢語句

select type,sum(stat_count) as stat_count from t_stat_day_type where stat_time>='$start' and stat_time<'$end' $where1 and type in ($search) GROUP BY type
相關文章
相關標籤/搜索