I am trying to accomplish the following in MySQL (see pseudo
code)
SELECT DISTINCT gid
FROM `gd`
WHERE COUNT(*) > 10
ORDER BY lastupdated DESC
Is there a way to do this without using a (SELECT...) in the WHERE clause because that would seem like a waste of resources.
I'm not sure about what you're trying to do... maybe something like
try
-- searching for weather stations with missing half-hourly records
-- variation of yapiskan with a where .. in .. select