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 (13,5388,44745,45072,5410,28313,18688,44669,45567,45346,17601,44685,36472,45042,45286,18652,45262,17114,4765,18430,44739,18042,17756,17092,16885,24412,17657,44855,24411,18353,17527,44865,18572,18286,17981,3,44711,5259,5993,28530,44671,24438,37057,44878,45515,17556,17848,3883,8753,44837,18172,44849,18237,44531,31354,14622,44835,19057,45177,44863,44854,45043,6609,32454,44873,19078,44775,44867,44869,17904)
Unknown column 'np.person' in 'where clause'