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 (16885,17492,44671,5388,19057,44865,18650,44669,45517,18286,18981,5993,5259,17601,28313,18719,44835,10402,44531,18042,17848,18688,44711,44863,28530,6875,44775,18301,45346,30986,24441,6862,13425,44687,44856,17009,17335,31354,16935,44640,18648,39676,44836,17351,3,44739,18430,44685,44869,32454,43800,44768,44765,17839,6782,44764,14402,44878,17527,18572,17904,45421,6609,44884,17556,45286,24412,44745,18172,44875)
Unknown column 'np.person' in 'where clause'