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 (44855,17237,18981,18648,43800,18042,44669,39676,18996,44867,44762,17904,5410,16935,17981,44674,44863,44875,18279,45561,44845,3,18172,17009,17703,45277,44764,44768,44767,10402,45517,9341,17351,45072,45567,17114,17092,44848,44861,28530,28313,13922,44884,19078,18286,17755,44689,18719,44849,18430,17657,34194,44739,45346,18446,30135,30963,17601,44775,44866,5259,44878,17771,37267,13988,44853,44745,5993,45180,4686)
Unknown column 'np.person' in 'where clause'