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 (44873,43800,37267,17527,45561,44845,18894,19078,32454,17756,17335,44674,5388,45346,44711,44856,13988,6875,45515,45262,45421,44685,19057,18237,17278,44768,17492,30986,18794,5410,44745,13425,3883,17237,17835,18688,45180,9341,18042,6609,17009,22509,44775,45516,44765,18301,17755,45277,44835,18353,44884,44858,17092,44689,18981,44875,39676,44767,44836,30963,44878,28530,18446,44894,45043,5993,44671,17114,13,17657)
Unknown column 'np.person' in 'where clause'