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 (13988,44671,14622,17351,44766,44851,17755,44875,30963,44640,16885,5388,31354,44853,3883,24411,28530,44873,44835,45286,44669,36472,44863,44894,18794,9341,30135,17771,16935,45346,17278,17904,44867,44711,44869,17756,4686,34194,44884,18301,5259,44856,44739,13425,44764,45517,44674,44854,18279,24412,18572,44837,18237,44858,39676,5410,45516,44855,44836,5993,18042,19057,18172,17703,45229,22509,44531,18688,17092,18894)
Unknown column 'np.person' in 'where clause'