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 (45042,8753,6782,37267,45229,44873,22509,44894,44671,45043,44856,44875,44669,43800,44745,44765,13922,18794,3,17278,17092,45517,17601,44865,5993,30986,44762,18042,45515,19078,19057,18427,44837,44867,17335,44711,5410,13425,17771,44870,5259,3883,5388,13,44863,28313,24411,17848,30135,44687,18688,45072,34194,24412,45180,44640,6875,31354,10402,4765,45286,28530,4686,13988,18172,18996,44685,39676,18430,44775)
Unknown column 'np.person' in 'where clause'