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 (44873,45177,6875,17848,30135,44764,3,17981,18237,24438,31354,44863,24411,36472,17351,44671,45043,18430,44762,44768,18900,17657,17703,45286,28313,18279,44858,18301,17492,44711,18719,16885,44835,44869,17839,16935,44856,18353,44861,44531,45421,45346,44739,45567,18286,44878,37057,45277,17335,18981,18650,5410,13922,34194,43800,8753,44685,14622,44866,17009,6609,18446,9341,24441,18042,17527,17755,44836,22509,18688)
Unknown column 'np.person' in 'where clause'