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 (44835,4686,44768,19078,45286,18427,45516,17703,45346,24412,24411,14402,16885,44848,24441,18301,44775,13425,18286,17601,44873,17556,17092,13,22509,45515,44869,3,17755,44689,44851,17351,18648,17904,17278,31354,18172,44764,30986,6609,45561,44766,44685,44837,18996,6875,18185,44856,17771,44674,30963,44863,44867,17237,5259,44866,39676,44894,4765,44858,6782,44687,44878,45518,3883,45517,5388,32454,18353,18981)
Unknown column 'np.person' in 'where clause'