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 (44775,44837,44853,18652,37267,44873,44669,44870,30135,44848,45515,44836,5410,44640,28313,14622,44768,18430,44767,13988,45518,9341,30986,18996,45421,28530,4765,44869,44875,18446,18353,44531,6875,16935,17492,18301,24438,44687,6862,17835,44878,44868,18237,18286,18279,24412,5993,44863,44671,44766,44849,44689,17601,17904,18648,45516,45072,44851,31354,17981,45262,44894,37057,17278,44856,18688,36472,45346,45051,17556)
Unknown column 'np.person' in 'where clause'