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 (44531,44870,44875,18650,18279,18427,44711,30963,32454,19078,13425,37057,17114,45561,45517,44745,6875,5410,45177,5388,18185,6862,44858,18042,18286,44775,44766,44867,17092,6782,24411,44689,17904,17657,44878,28313,45518,44835,45042,45567,14402,18996,45346,44836,18894,45072,5259,22509,17771,17237,45286,45180,39676,44868,44856,24438,44869,18301,17848,44873,44884,44853,9341,24412,13,44764,30986,4765,43800,44669)
Unknown column 'np.person' in 'where clause'