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 (8753,44873,45180,17848,6609,24411,45043,6875,44764,18688,44866,44868,44669,18172,10402,44766,24441,18652,44836,17009,18237,13922,30135,45177,5388,17237,32454,44775,13425,18286,17981,17092,45051,6782,45517,45561,17335,5259,44863,22509,44865,18185,45421,17703,44767,44884,44689,4765,44685,37267,18996,17756,44848,17114,19057,17278,17601,18794,18894,18427,44849,44640,44875,18279,44837,17492,45229,44531,13988,44869)
Unknown column 'np.person' in 'where clause'