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 (3883,13,44640,45043,18185,9341,28313,44775,18286,18042,30135,44671,14622,44531,16885,18279,14402,34194,44853,18446,44745,44768,45262,4686,44866,44739,17092,18430,5388,17771,36472,44858,17335,44875,24412,24438,18996,18688,28530,13988,45516,17835,39676,17527,17237,44687,44762,4765,17904,45561,45177,44669,24411,44837,44869,17009,17755,44851,10402,6875,17981,44854,17657,5259,44884,44848,44873,18900,30963,44689)
Unknown column 'np.person' in 'where clause'