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 (28313,31354,18688,5410,44674,44766,17904,9341,44855,24411,44858,13988,18427,44762,8753,45515,45180,24438,32454,44845,44775,30135,18185,37267,17009,45517,14402,24441,45262,44765,44878,45042,13,44836,17092,44875,18894,18286,44671,18042,6609,44851,44837,18430,19078,44767,30963,36472,18794,44531,17335,17756,13425,45561,45286,44865,3,44873,16885,44863,45346,44669,18446,18279,17492,17981,5388,45518,18652,44868)
Unknown column 'np.person' in 'where clause'