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 (13425,44764,24412,16935,17092,18353,18981,18652,17237,32454,45042,17755,31354,18648,18185,6875,5993,44861,14402,5388,45561,18279,44875,18430,44836,44669,44865,44870,10402,30986,17839,44685,44855,18237,45229,4686,18688,45177,44745,44873,17981,8753,37267,39676,45051,17703,17278,45043,17601,17335,44884,13922,44687,18900,44845,6862,44689,28313,44894,18894,44848,13,44739,18446,17527,6609,18719,44851,36472,44762)
Unknown column 'np.person' in 'where clause'