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 (44867,18042,17981,44765,44875,18794,14622,17703,17009,13988,44853,24411,45072,44855,44894,18279,44863,32454,6609,30963,18719,18572,30986,5388,18237,18185,45180,18981,18427,44861,18286,44762,44745,44767,8753,17771,44531,45516,45515,44878,13,17756,9341,44854,17492,44848,16935,44856,45051,44836,18996,18648,19078,44775,6782,44884,44766,44689,30135,17556,44669,22509,45262,18900,18688,17657,43800,44711,5993,4686)
Unknown column 'np.person' in 'where clause'