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 (44711,44855,30963,45180,17114,6609,17556,44884,18650,44766,43800,17009,24438,18894,44835,17771,17492,17839,45515,5410,18572,44873,6875,14402,19078,18648,44861,17527,36472,44685,30986,44745,37057,18719,17351,37267,13922,18430,44768,17092,44853,44764,17835,18353,28530,44671,4765,17756,45043,45518,13,31354,44845,17237,44767,44739,44868,18794,3,8753,22509,45346,44856,32454,45517,44878,18427,44869,18172,18301)
Unknown column 'np.person' in 'where clause'