Query: select c1.code, c1.description from cities c1 inner join cities c2 on c1.prefectureCode = c2.prefectureCode and c1.description = c2.description where c2.code = 0

Stack
#0 handleSQLMessage(, select c1.code, c1.description from cities c1 inner join cities c2 on c1.prefectureCode = c2.prefectureCode and c1.description = c2.description where c2.code = 0, ) called at [/var/www/finnews/lib/lib.db.php:54] #1 doOpenSQL(, select c1.code, c1.description from cities c1 inner join cities c2 on c1.prefectureCode = c2.prefectureCode and c1.description = c2.description where c2.code = 0) called at [/var/www/finnews/lib/lib.misc.php:306] #2 getSQLEnumValues(, select c1.code, c1.description from cities c1 inner join cities c2 on c1.prefectureCode = c2.prefectureCode and c1.description = c2.description where c2.code = 0, code, description) called at [/var/www/finnews/objects/obj_company.php:119] #3 Company->doGenFilter(processed=1 AND bucket=0 AND isologismos_date>="2011-01-01") called at [/var/www/finnews/index.php:153]