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 (24441,9341,44531,14402,44687,18981,44671,44873,44856,10402,18237,45515,24411,16935,18427,39676,45518,44674,44768,28530,44767,5993,44869,4686,44894,18042,30986,17848,18286,44866,45516,44689,44845,22509,18446,17092,45180,45517,13425,24438,17904,3,17755,18172,45262,14622,44762,44711,44878,45229,17009,16885,44835,6782,17601,45567,44775,13988,44766,17351,17657,17835,4765,5259,17771,43800,45561,44854,44848,31354)
Unknown column 'np.person' in 'where clause'