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 (44870,17601,17114,17092,13,44866,37057,44689,4686,18446,18172,17703,18981,44531,14402,24438,45042,45561,18648,45277,44739,17278,22509,44865,17237,17657,17492,44869,18353,6782,18794,18900,30986,30135,6862,45286,18279,17981,18301,17839,5259,13988,44863,44768,18652,5993,28313,24441,19057,44849,37267,6875,18688,45517,44868,44848,17904,45180,18430,17009,8753,44853,44884,44855,45567,44894,18042,17755,44861,18650)
Unknown column 'np.person' in 'where clause'