【发布时间】:2019-02-15 16:45:34
【问题描述】:
这是我的查询:
SELECT location_description as Crimes,COUNT(*)
FROM test_sample
where test_sample.day_of_week LIKE"%sunday"
GROUP BY test_sample.location_description
UNION ALL
SELECT location_description as Crimes,COUNT(*)
FROM test_sample
where test_sample.day_of_week LIKE"%saturday"
GROUP BY test_sample.location_description
如何将这两个重复值合并为一个。
【问题讨论】: