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 (44854,44856,13425,45346,18279,18430,44873,44685,18648,24412,24438,44836,18652,18353,17839,24441,45262,45516,5259,17771,16935,44767,17601,44745,13988,19057,45043,24411,18900,14402,44863,17657,45515,44762,44848,6609,44640,32454,44531,17756,44855,17981,44865,17335,39676,17904,44768,18237,18185,45561,44674,44765,37057,17009,44849,44870,18996,16885,5388,44837,45051,45072,44764,36472,17527,18688,18981,44766,3,44884)
Unknown column 'np.person' in 'where clause'