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 (13922,44836,4765,45421,44894,18648,18353,18900,45567,6862,44875,44711,24441,44640,13988,17556,18185,5993,18286,17839,17657,24411,44767,44861,30986,44765,45517,19078,45515,34194,22509,44858,18172,44845,44837,44869,18279,44669,45229,24412,44764,45042,45043,45516,5259,44851,17755,37267,24438,18981,45561,17492,44674,8753,45051,17703,18446,17904,44855,18301,39676,18652,3,17009,44848,5388,18688,18427,17835,13425)
Unknown column 'np.person' in 'where clause'