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 (8753,37267,44878,44870,6609,44775,44762,45262,45042,44837,18172,44689,45516,17092,44875,43800,44894,30963,17657,44711,44765,17492,4765,44848,17771,44640,45043,18185,45421,18652,17556,44739,44884,22509,18894,44867,28313,17839,24441,18042,44858,18286,32454,17848,17009,18279,18446,44766,36472,28530,13988,18688,44853,45561,18427,24412,18301,13425,18572,45286,17278,44845,24411,18650,44687,17904,45346,44869,44868,44745)
Unknown column 'np.person' in 'where clause'