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 (44775,18446,18301,44875,24411,13,45229,18652,44739,44849,17755,17657,44855,45517,44868,17703,45518,17009,44745,43800,44762,22509,4765,44669,4686,24441,44835,17756,44858,44854,17556,3883,44845,19057,18572,44884,6875,18894,44894,45421,18794,17904,45043,18650,8753,5993,17092,17278,44687,18430,28313,44671,44861,17114,17335,44765,18996,37057,17981,44878,17771,45051,16935,44836,17601,45262,18172,36472,14622,14402)
Unknown column 'np.person' in 'where clause'