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 (14402,44671,45072,18688,18430,44764,18652,18172,24412,18353,44762,44711,5410,44863,44873,44848,44669,34194,44845,18894,44531,22509,17527,18794,18427,44861,44674,6875,44869,45262,13988,30986,17009,44687,44739,45229,28530,13,44867,18279,36472,45180,45516,18042,17703,17237,19078,45042,17278,6862,17492,6782,18286,18996,18719,44775,44875,45567,30135,3,18648,45421,28313,17904,18900,45515,44767,17981,43800,24411)
Unknown column 'np.person' in 'where clause'