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 (18719,44775,45177,17756,44870,17771,18648,17009,18688,5259,9341,10402,44878,45421,44739,30135,30963,44856,44531,17904,44767,44861,24438,13425,18427,16935,28530,18042,17981,3883,45567,44669,45561,14402,17848,44863,30986,18794,44873,44848,44689,18446,6782,31354,44866,17556,4765,19078,18301,44837,44869,44875,5388,39676,45072,18237,8753,44674,44764,4686,18185,45051,44762,16885,44745,44884,45518,17839,13922,3)
Unknown column 'np.person' in 'where clause'