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 (45518,44849,17278,28313,44531,44766,18042,18446,44878,44711,18301,17839,18981,32454,17527,45180,17114,18172,17755,45515,44865,44863,18427,44835,30135,17351,6862,16885,8753,36472,17835,45516,45567,19057,17848,17492,44775,45286,6875,44884,44868,44837,4686,17904,44845,45561,44851,44894,24411,18237,22509,18652,24441,18648,44875,34194,5410,44669,44685,4765,17981,44870,17756,17601,45229,18688,17335,45262,45051,37057)
Unknown column 'np.person' in 'where clause'