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 (44858,45518,19057,22509,36472,45042,24412,17601,44854,44835,3,19078,17755,18652,37267,17839,44640,18650,45043,17981,44878,6862,28530,16885,17237,24438,18719,44762,31354,44855,17756,44674,17114,44711,18279,44873,44689,8753,44894,45072,44884,18981,45567,45561,18688,44671,6875,45515,5993,5388,44739,18572,44870,18648,44669,4765,10402,18172,17771,44845,18427,44851,17009,44863,18794,39676,4686,3883,44868,13922)
Unknown column 'np.person' in 'where clause'