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 (44870,44875,36472,18688,18172,37057,44869,24412,17657,18719,44711,44894,17351,44853,39676,4765,44878,22509,6782,19057,44866,44884,44856,44851,17601,17527,17835,44762,44640,44867,44767,14402,44687,18900,44739,18794,18185,5388,18446,18237,17839,45229,44848,44865,16885,44689,17009,17771,44835,24441,30963,45561,18430,13988,6609,19078,6875,17703,45177,43800,37267,30135,44849,18650,18042,45515,18279,44765,44766,45346)
Unknown column 'np.person' in 'where clause'