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 (44870,18648,44685,17278,17839,14622,18237,34194,44531,44671,19057,44689,18430,5259,43800,44875,24441,45518,17657,44863,44640,45515,45072,44858,45561,14402,17601,13988,44867,24438,5388,44894,18719,18996,17703,44851,45177,32454,13,44849,44837,45229,44884,30963,18286,4686,4765,17114,44674,45516,45043,18900,17237,18427,17492,37057,39676,44878,16935,18172,44767,6609,18572,17009,44873,44854,44868,44866,17756,18981)
Unknown column 'np.person' in 'where clause'