Bezpłatny serwis
ogłoszeniowy Gorzów Wielkopolski
+ Dodaj ogłoszenie
Szukaj:
> Gorzów Wielkopolski
SELECT a.adid, a.adtitle, a.addesc, a.cityid, a.subcatid, UNIX_TIMESTAMP(a.createdon) AS timestamp, ct.cityname, p.picfile, scat.subcatname FROM bazaro_ads a INNER JOIN bazaro_cities ct ON a.cityid = ct.cityid INNER JOIN bazaro_subcats scat ON a.subcatid = scat.subcatid LEFT OUTER JOIN bazaro_adpics p ON a.adid = p.adid WHERE 1 AND a.enabled = '1' AND a.verified = '1' AND a.expireson >= NOW() AND a.paid <> '0' AND a.cityid = 27 GROUP BY a.adid ORDER BY a.createdon DESC LIMIT 0, 25Otrzymano b\0142?d 122 z obs\0142ugi tabeli