$link = $DB_site->query("select ref
, count(*) as refcount
group by ref
ORDER BY refcount DESC");
Basically my ref log has gotten large enough that I can't run it within the allocated amount of time anymore. How would I do a query to eliminate any URL's that are in the table say less than 3 times?