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 (44853,18719,44845,18650,6609,44671,17335,18301,44835,18446,44687,37267,18237,5410,18996,44868,6875,44764,44739,44873,44884,19078,28313,45567,45515,17351,9341,18185,32454,3,44865,44855,16885,44861,19057,17237,8753,18286,36472,45561,13425,44875,44689,17092,18648,18353,17114,31354,44674,28530,45042,18900,17835,44849,24438,17755,18688,44836,30963,4686,14402,16935,17904,44854,18172,5388,44837,45072,17009,17981)
Unknown column 'np.person' in 'where clause'