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 (44835,44767,17756,14402,17237,44674,45042,18652,13425,44868,10402,18981,8753,18572,18894,44766,6875,45516,13922,44711,44765,17492,37057,44768,44531,44867,17755,17904,45421,32454,44865,18996,44671,34194,17278,44775,45180,44745,22509,44873,44848,44687,44685,18042,44870,18286,9341,18237,45177,44851,28530,17771,17556,18353,45072,44878,44894,44739,19057,18794,37267,4686,43800,18650,14622,17703,17981,18430,17527,17839)
Unknown column 'np.person' in 'where clause'