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 (43800,17009,5410,3883,8753,4686,34194,18894,30963,44685,32454,44878,44869,44863,10402,19057,17527,18652,24441,45286,24411,31354,44873,17756,30986,44739,44640,44866,18648,44856,17839,44849,17755,19078,44894,45051,18430,45517,44870,44766,45177,18237,45518,28530,17981,17092,44711,4765,44674,44745,45042,5993,17114,44768,44848,44855,45229,17601,17351,44845,44835,18688,45567,44875,44687,9341,13988,30135,18427,13922)
Unknown column 'np.person' in 'where clause'