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 (44884,4765,28530,18446,44531,18430,44765,44848,45517,17904,44764,44739,17848,19078,16935,18185,37057,13425,44762,30963,44845,45286,17278,18427,3,18572,36472,44851,24411,45277,13922,5259,18279,9341,18172,44849,44671,44894,45262,43800,44689,44878,18650,13,18981,31354,44863,18286,44861,6862,34194,5410,44853,44854,18794,32454,17492,44875,44856,44868,28313,44870,10402,17009,45421,18237,17351,44767,44865,44669)
Unknown column 'np.person' in 'where clause'