Error in query: SELECT DISTINCT(np.person) AS person, p.first_name, p.last_name, AS news_id FROM news_person AS np, person AS p, news_category AS nc LEFT JOIN news AS nx ON = (SELECT FROM news AS ny, news_person AS nyp, news_category AS nyc WHERE = AND nyc.category = 310 AND nyp.person = np.person AND = AND = AND ny.entry_active = 't' ORDER BY entry_date DESC LIMIT 0, 1) WHERE np.person = AND nc.category = 310 AND = AND np.person = AND IN (8753,45042,13,44845,13425,34194,44669,17527,17981,18688,17904,45561,45518,22509,44836,17335,44870,44878,17657,44854,16885,44687,18430,45421,18172,39676,44685,44855,13988,37267,44765,17492,44869,17556,17351,18650,16935,18301,17092,44873,18042,18894,44671,44531,24438,18900,44775,44861,19078,18981,44851,44858,44866,44739,44766,44767,17848,17114,44853,17278,5259,18279,44856,45072,24441,18719,5388,44884,45277,30135)
Unknown column 'np.person' in 'where clause'