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,28530,44875,18185,17278,44775,44869,37267,19057,36472,18286,16885,44873,44868,44851,4765,18981,17527,14402,18301,17703,17657,18353,45567,18427,44711,18688,17009,44858,39676,45229,22509,17839,18719,44870,44835,14622,18794,17756,18042,44849,45043,44768,44764,44674,45072,44845,24412,18430,17771,30986,32454,44640,44762,13425,31354,18446,45262,44669,24441,17492,5388,18652,18172,44867,44878,44685,17237,17904,44739)
Unknown column 'np.person' in 'where clause'