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 (28530,18279,30963,44685,44848,17756,18688,17527,44775,9341,39676,24441,44765,14622,18794,44531,45561,28313,44856,18894,3883,44849,44762,18572,18042,17839,17601,17771,44669,44870,44689,17114,45051,13988,44875,44837,44845,16885,18427,45346,6782,18981,44869,19078,17009,17835,44767,22509,44854,44866,37267,17278,45518,44764,5259,18900,44853,45515,5388,37057,18652,18185,18301,44861,45286,44855,17237,32454,44768,44835)
Unknown column 'np.person' in 'where clause'