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 (14622,24441,44855,45517,5259,24412,17009,17839,31354,34194,19057,39676,44870,45072,44884,17492,17237,17756,18172,17601,17657,44764,8753,17527,17703,44669,44845,44878,13922,44711,9341,24411,30986,5388,18652,44837,45042,18279,45229,44858,19078,18900,17848,45262,22509,6609,17092,44685,44894,18237,44854,3,44849,45516,18427,18042,37057,44861,44765,45567,44851,45518,17755,45346,44775,13425,44848,36472,18794,18572)
Unknown column 'np.person' in 'where clause'