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,3883,5993,13922,13425,17556,17835,45177,44875,44711,44884,4686,45286,16935,44687,24412,45042,44765,44861,16885,17756,39676,37057,45229,44836,44866,17278,18900,45277,17092,18719,4765,44669,18650,18279,44855,18430,9341,44640,45516,44531,44854,17657,44867,17351,17839,44837,45567,44858,45517,18185,18286,44689,18446,18427,17981,44739,44870,45346,17601,13,30963,44863,44685,44869,18794,34194,44849,18172,44845)
Unknown column 'np.person' in 'where clause'