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,6875,17835,18688,8753,44640,44685,45072,17492,17848,18237,45561,39676,22509,44745,36472,24412,14402,37057,17601,6782,44764,45517,43800,44674,34194,44848,45346,45515,17527,45229,30135,45277,18279,19078,18572,5388,17755,17335,24438,44687,44768,17351,44867,44858,4686,44775,18042,44869,5993,18446,45180,18650,30963,45043,44851,44870,3,44669,45286,17756,13,45518,44835,18794,17904,16885,44845,45516,6862)
Unknown column 'np.person' in 'where clause'