Add details to emails

A few clarifications
This commit is contained in:
2013-01-15 15:28:17 -05:00
parent 184b8a4166
commit b19b44305a
7 changed files with 59 additions and 10 deletions
+9
View File
@@ -0,0 +1,9 @@
select CityName, City.Name, lc.LogCount
from (
select CityName, COUNT(1) as LogCount
from Log
group by log.CityName
) lc
left join City on lc.CityName = City.Name
where City.Name is null
order by LogCount desc