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 (44837,44765,44669,45346,18981,3,6609,44836,13922,44767,17756,18996,30135,22509,44848,18286,18900,17527,28530,17335,17703,18279,45421,44745,17114,17237,17904,17839,44853,3883,45072,45567,17492,45042,37267,14622,44866,44766,17835,44711,44685,44875,44739,13988,44775,44856,18237,16885,36472,17009,39676,44865,44674,37057,31354,17755,44689,17278,45286,18652,44869,45516,4686,18042,45051,44845,44894,24411,44531,44768)
Unknown column 'np.person' in 'where clause'