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 (44853,18648,3883,28530,13,44869,44861,45042,30963,18301,18185,45262,18286,18688,17351,4765,44866,44767,44878,17278,44711,44836,45517,4686,31354,18237,44849,44765,37267,13922,44873,13988,44856,18652,44848,44745,45277,17335,17601,18042,44674,24438,45180,39676,18353,19057,45516,44875,18900,44766,17755,44858,44867,45177,44837,16935,43800,18894,5410,34194,30986,44868,45515,36472,17835,44884,17839,17904,17657,44835)
Unknown column 'np.person' in 'where clause'