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,44848,39676,31354,32454,45051,44867,44845,44835,19057,45180,44853,44765,18185,44855,18279,30963,6782,5388,44687,17839,45229,44861,45043,43800,28530,44745,18650,18353,9341,17981,45042,45517,28313,44884,37267,44875,14402,44685,18894,36472,18430,18427,17492,19078,44671,44768,18719,44873,45277,13425,30135,22509,17755,18286,44836,44858,44775,5993,17703,44869,37057,44531,18301,13988,6609,17009,45262,16885,17278)
Unknown column 'np.person' in 'where clause'