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 (43800,18688,18237,8753,18279,13922,5993,44674,18648,17492,44837,28313,44849,31354,44861,3883,17092,36472,9341,44764,44687,5388,44766,44856,6875,17839,17009,17601,17527,18652,45518,18353,44863,17981,44768,18572,18446,17848,18427,14622,45072,44835,45042,44868,39676,45421,18900,44775,45515,17278,37057,16935,17114,44685,18794,14402,24411,45177,6782,5259,32454,17335,19057,45051,4686,44765,13425,44836,5410,6862)
Unknown column 'np.person' in 'where clause'