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 (44884,45515,44845,18446,13922,44869,31354,44853,17278,44739,17556,13425,44640,44856,30963,34194,17848,8753,45561,44764,18996,18794,18652,18427,44855,17755,45516,44711,30986,17237,18572,45262,44863,45042,44867,6862,19057,30135,44767,39676,13,17114,17756,14622,22509,16935,6875,5410,44849,28313,45180,24411,44674,17335,24438,4765,44866,44837,18719,18353,18650,44875,18237,44768,18688,18430,44669,18279,14402,17351)
Unknown column 'np.person' in 'where clause'