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 (44739,44687,13425,44837,44766,18652,19078,4686,44640,14402,6609,22509,44767,44854,18279,6782,17848,37267,18719,8753,18286,44863,17527,44689,45515,37057,44894,44855,39676,18648,44685,44869,17092,9341,45518,44711,45277,44851,44865,17601,18572,44764,44775,17835,18427,17009,6875,10402,18301,16935,44765,24441,45567,30986,17351,30135,18353,44873,17756,44768,18650,18430,17237,17657,17981,44669,18172,45286,24412,28313)
Unknown column 'np.person' in 'where clause'