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 (28313,44669,13425,32454,18446,44873,17009,18042,22509,18430,44855,18286,24411,39676,45043,44858,17835,44851,44745,44775,18996,37267,44863,14402,18794,24441,44865,8753,44711,4686,45515,44674,44866,18353,44768,18279,44856,3883,5388,19057,17556,44767,5259,18688,44685,18172,44884,43800,17756,45421,44687,24412,18301,45277,13,17092,17278,17839,17492,44766,14622,45286,37057,18237,44868,45518,44853,44531,44867,34194)
Unknown column 'np.person' in 'where clause'