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 (44687,45262,44873,45043,45229,19078,39676,36472,17492,6609,13922,18430,5259,18652,17657,44745,18446,44848,18996,17556,17839,44865,44768,17237,24441,18279,45346,17835,30963,24412,44685,18286,16885,17755,44689,18648,45180,43800,18185,18894,44894,3883,28530,45421,45515,4765,6862,44853,19057,17703,28313,4686,6875,37057,44884,18719,44856,44671,9341,17601,44861,13,44858,24438,44674,37267,44867,44863,44849,18237)
Unknown column 'np.person' in 'where clause'