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,44671,44868,44775,44894,8753,24412,18652,18981,6875,44765,45286,18042,28530,17351,44875,44739,44867,22509,30963,17278,45277,17981,17771,24438,18286,18427,45180,44849,45177,5993,17237,24411,4765,4686,44884,18279,17848,6862,44687,5259,17657,17114,17335,17009,16885,30135,45518,44863,45516,16935,14402,45517,13988,44674,14622,19057,13425,44858,13,44762,44866,18301,17092,17835,28313,18996,44764,45043,3)
Unknown column 'np.person' in 'where clause'