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 (32454,44875,44851,18719,45229,18427,44878,44764,5993,44674,8753,17527,45042,18688,45518,14622,18301,18900,44894,44855,17492,17351,18286,13425,44873,45043,44869,44671,17092,14402,36472,18894,44531,44867,17703,18446,34194,28530,18572,17009,22509,45177,18794,17835,45072,13,5388,44765,44762,16885,17601,9341,44868,45051,39676,18652,44689,6862,4765,13922,13988,43800,44856,6782,44858,18237,16935,45346,45567,45180)
Unknown column 'np.person' in 'where clause'