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 (44836,6609,18652,45517,18900,6782,18279,22509,24441,14622,18688,36472,18353,45561,18981,17771,44775,18572,44835,43800,28313,44854,44669,18286,45515,45518,44845,31354,4686,18301,45042,44856,16935,24411,18794,17556,17351,44858,44640,44767,44687,44689,45072,34194,17009,44745,17981,44853,13,44671,44867,44531,5410,13425,44878,17492,17904,45262,6875,30986,45043,17114,44884,5993,45180,17755,32454,44851,18430,17092)
Unknown column 'np.person' in 'where clause'