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 (44711,44768,44766,13425,30963,44855,5388,44853,44861,17755,18794,17981,36472,44845,4765,17335,45346,34194,44851,37267,44856,44764,18996,8753,18279,18719,44687,44863,44739,44835,44775,17703,18172,19078,17771,45561,45177,18894,18301,28530,31354,45229,44868,44858,44848,17904,18981,6862,44762,45421,17492,18042,3,44870,44884,18286,44669,17835,44765,17092,37057,44837,17351,10402,18237,13,44894,44689,44531,45567)
Unknown column 'np.person' in 'where clause'