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 (44870,44836,44855,44878,44884,44739,17848,6862,37057,44767,18996,17278,17092,17335,5410,18279,17009,45042,44858,6782,24412,6875,18237,17904,14622,45262,44687,44866,22509,18794,18650,18185,13,30963,18042,17756,45072,18286,44640,44837,10402,18172,44835,45180,44845,17771,44861,45229,17755,17601,44768,18900,44775,45516,18719,13922,37267,44764,17839,34194,45286,44745,24411,18652,6609,18981,18301,17351,18446,36472)
Unknown column 'np.person' in 'where clause'