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 (44875,17335,44861,16935,17981,18900,34194,45262,45277,18719,44836,44687,17492,44711,17556,44863,17771,44873,18286,44878,13,44851,44531,44853,44739,9341,19057,14402,18237,44765,18648,17904,18172,5410,44855,13922,44674,17092,44745,31354,17527,4765,44849,45346,32454,17657,13988,18446,44848,37267,45042,30963,36472,44867,14622,45051,44835,45177,44868,44854,45286,18430,44866,44865,44766,44762,18688,17756,18652,45515)
Unknown column 'np.person' in 'where clause'