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 (44863,5410,44775,45517,44835,18688,44861,34194,44868,32454,17092,5259,44711,5388,10402,18894,28530,3883,45177,44836,6862,16885,44855,44870,13,44869,14402,18430,44689,45072,17771,4765,31354,44849,44851,44848,44845,18719,18648,44671,44853,45180,36472,19078,18185,8753,43800,9341,17848,24411,17657,45561,18427,45262,6875,44873,17839,17335,30963,18353,44674,37267,18981,4686,17703,44894,44685,14622,6609,44745)
Unknown column 'np.person' in 'where clause'