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 (17848,16935,44878,17771,44711,10402,13425,45517,32454,8753,17703,45072,24438,4686,44739,44685,13922,17351,3,17527,28313,45286,44766,45177,44873,17335,18279,5259,45518,18650,44875,17904,44863,17009,18353,3883,28530,44767,17755,22509,18981,18427,18900,6875,44858,44775,6609,45051,31354,17601,18652,44762,44854,17657,44745,5993,30135,44856,34194,44853,44671,44884,44866,19078,5388,19057,18172,44837,45561,18430)
Unknown column 'np.person' in 'where clause'