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 (43800,44837,18719,30986,18279,3,18688,44863,44855,4765,44835,44775,28313,18652,17904,19057,44768,44849,45043,44848,45567,44894,6862,17835,45421,44674,8753,44858,44873,18353,18794,44640,24411,44765,17755,16935,13,30135,17657,44711,45072,45286,17351,17009,39676,37057,44836,17601,44671,18981,32454,17848,13988,17981,44669,45042,17092,17527,10402,45516,44745,45518,18900,17703,44878,22509,5410,17237,44685,31354)
Unknown column 'np.person' in 'where clause'