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 (34194,17009,44835,17556,44685,17278,45051,4686,6875,44674,45043,45515,44866,18042,44775,13425,10402,13988,31354,37057,17839,22509,14402,28530,6609,45229,18301,45042,44856,45286,44768,44767,37267,44884,44762,19057,18688,44853,44855,18794,19078,44764,45516,18446,44851,16935,44671,18719,17755,44837,17848,45177,17756,44868,24441,18652,44854,17657,45262,5388,44745,45518,44531,44875,44848,8753,45561,44865,3,44873)
Unknown column 'np.person' in 'where clause'