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 (44873,17527,44775,9341,18900,17657,18279,30963,17771,6862,44869,44884,37267,44767,24412,44762,13922,4765,17492,18185,18648,45346,18172,17114,45516,45518,17848,18996,18430,44745,44687,16935,17351,44845,44878,44837,22509,18427,17009,34194,45177,28313,16885,36472,44863,44836,18894,44848,28530,17601,45567,18650,5410,19057,13425,44866,18981,17755,3,44854,44765,18719,17756,45262,6875,24411,6782,18042,17839,31354)
Unknown column 'np.person' in 'where clause'