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 (44855,36472,18648,45517,17492,5410,44854,18172,31354,45561,13988,9341,28313,18981,44865,18996,14402,3,13922,13425,45051,37057,19057,45567,17351,44869,44531,18688,17771,45042,24411,45516,3883,18279,44845,44867,8753,17092,44894,17703,44766,45518,45421,44849,45177,44861,24441,14622,45043,16935,30135,44884,17657,44851,45072,17601,44870,18719,45229,17556,44853,28530,18900,13,17755,44837,44739,17756,24438,17981)
Unknown column 'np.person' in 'where clause'