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,17755,18427,45042,3883,3,44861,28313,18719,44765,44870,44845,13425,5410,45516,44689,44640,44531,17771,10402,5259,32454,6609,17527,45277,34194,13,19057,18279,8753,18900,18794,44762,18981,16885,44894,44837,28530,45515,45421,17981,43800,17556,18688,16935,17009,44863,13922,30986,5993,4765,17839,44767,6782,4686,17237,44848,44674,17703,24411,14402,44671,45043,5388,17278,45072,6862,44685,44711,18446)
Unknown column 'np.person' in 'where clause'