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 (36472,44689,44531,44869,44855,44870,24441,13,17335,17848,30135,44837,37057,18301,17092,45229,45042,44873,19078,18572,45516,44775,17904,44848,3,17703,16935,5259,5388,45180,19057,45421,44671,17237,18446,18719,44856,18996,17009,17755,5410,44866,24411,17492,44745,44687,14622,45346,10402,24412,44878,44853,44766,45177,17556,45051,17657,17981,18172,45286,44854,18650,3883,43800,44674,44851,44768,5993,13425,28313)
Unknown column 'np.person' in 'where clause'