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 (44745,44775,18430,17492,18652,36472,44767,9341,18446,24411,4686,4765,17703,44861,44837,18648,17601,17009,13,17351,18427,17237,44855,17657,16885,44878,17114,44674,18286,17335,44671,45517,44867,45072,32454,18042,45518,3,18794,14622,17839,39676,45229,34194,18894,37267,8753,44766,13922,19057,37057,44856,45567,28530,17848,5410,17278,45180,16935,24441,44764,30963,44762,18719,44873,17556,18996,17755,17904,17981)
Unknown column 'np.person' in 'where clause'