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 (44764,44873,44884,44854,18301,17351,18446,3883,44671,44711,32454,17755,18042,18688,17009,17114,5993,44865,18900,44867,44531,17904,44866,24438,30963,17771,45286,28530,9341,17756,30135,18185,44835,17092,34194,17657,44856,45518,44775,44868,44836,44875,16935,44687,28313,44845,6875,44855,17703,14622,16885,45346,45516,19078,13988,22509,18353,45567,17848,45043,18894,17237,17981,5259,45561,44669,44837,44851,44766,13922)
Unknown column 'np.person' in 'where clause'