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 (44863,44775,44870,13425,44767,39676,3,17601,6609,18301,44687,22509,18185,45421,5259,44531,45229,18042,44878,19057,17904,17981,18894,18427,18652,44671,44689,44861,18650,44858,14622,13,18794,28313,37057,44854,44865,6875,44768,17527,45346,4686,44848,17278,17756,44855,17771,4765,44884,44837,44851,24411,44849,45072,44873,3883,37267,30963,45277,44745,24412,9341,14402,17848,45516,44669,43800,45177,45518,34194)
Unknown column 'np.person' in 'where clause'