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 (44853,45516,45042,17527,18301,44764,37267,17657,17601,44868,45177,16935,44858,24411,45051,30986,45072,44669,18688,18894,45517,17492,5993,4765,17848,17839,34194,5410,44861,45421,18996,44867,18446,31354,44640,17278,30135,44851,17904,44685,19057,18572,44865,44762,45346,18981,30963,44854,44767,3,19078,44765,44671,10402,17237,44863,17756,17981,3883,44870,45262,17771,22509,44855,45567,44873,44836,44837,44687,45561)
Unknown column 'np.person' in 'where clause'