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 (44856,45346,32454,30135,18648,44768,43800,44766,3883,39676,16935,17351,30963,17848,45043,6609,34194,44685,44835,45177,5410,17527,44867,44873,44765,45277,44837,17492,44836,45516,24411,18353,5259,18042,5993,45421,44875,44711,10402,18719,17601,44739,17981,44669,45515,44861,14402,30986,28313,5388,44869,44851,44689,9341,45180,17835,17237,24438,45262,14622,44855,44863,31354,44845,17114,44687,19057,17904,44848,37267)
Unknown column 'np.person' in 'where clause'