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 (44765,16885,44711,17835,44685,43800,4686,18996,18172,44689,44863,44868,19078,10402,17114,37267,9341,18279,44856,22509,17556,45561,17335,17527,17771,13922,8753,17092,18794,31354,44894,44848,30963,44861,44531,6875,24411,44849,32454,18894,45177,17848,17278,4765,44854,44870,45346,44845,44878,13,18301,45518,3,45516,17904,18430,45286,45229,44837,44687,45180,6782,44836,5410,17237,18719,44762,45072,24438,18688)
Unknown column 'np.person' in 'where clause'