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 (44762,36472,18430,4686,18572,9341,18652,44674,18172,31354,44878,37057,17335,44868,14402,44845,18185,17703,44767,17092,22509,44640,45072,6609,17351,44894,18301,44745,24411,44856,44685,43800,44711,45177,44873,44858,30963,45567,16935,44687,18353,44768,18648,17657,44837,18650,5993,32454,44869,44765,17771,44849,44867,44669,17835,18279,44853,4765,17601,13988,6875,18719,45277,17278,5259,17114,45561,45421,17904,8753)
Unknown column 'np.person' in 'where clause'