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 (44687,44867,37267,44836,17492,19057,44866,22509,19078,18237,44766,44865,44878,18996,18650,44875,17278,44873,17703,13922,45180,44863,17839,45567,45042,4686,44894,45516,24441,24412,44848,5410,45072,44765,3,44855,44861,44856,44837,44762,45518,16885,18900,18427,14622,16935,17009,17771,30135,6782,8753,44674,44869,18981,17848,17835,18719,17114,45277,18185,44531,17092,18301,44745,18648,37057,6609,24411,32454,13)
Unknown column 'np.person' in 'where clause'