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 (6609,45229,19057,17492,28313,17351,13425,17756,44866,8753,44858,17703,44837,18652,44878,44873,4765,18427,44836,30986,44894,24411,44765,44869,18301,44671,45567,13,18719,34194,17839,18981,5388,44764,17556,18172,5410,44870,18688,45421,44835,44640,45518,44868,17237,44849,31354,17835,44685,18185,14402,45286,37267,44762,44674,14622,45561,13922,5993,17092,17009,18648,44875,44884,9341,44863,17527,44867,17114,44745)
Unknown column 'np.person' in 'where clause'