| |||||
|
Categorías »
Got error 12 from storage engineSELECT scat.subcatid, scat.catid, COUNT(*) as adcnt
FROM clasificados_ads a
INNER JOIN clasificados_subcats scat ON scat.subcatid = a.subcatid AND (a.enabled = '1' AND a.verified = '1' AND a.expireson >= NOW())
INNER JOIN clasificados_cats cat ON cat.catid = scat.catid
INNER JOIN clasificados_cities ct ON a.cityid = ct.cityid
WHERE scat.enabled = '1'
AND ct.countryid = 9
GROUP BY a.subcatid
| ||||