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 (8753,44739,28313,6875,44775,44851,17601,44868,44873,13922,18427,17848,18172,45515,45051,6862,5388,18894,18996,45346,18430,44878,18794,44531,16885,18237,30135,44845,44671,17492,17237,44762,44765,22509,28530,5259,45262,18652,44858,13988,5993,45043,17114,14402,44685,44674,44869,45042,18900,44689,44854,45567,18279,45180,44863,44711,44836,18042,17657,43800,18719,44861,10402,18353,17335,24411,19078,44768,5410,17703)
Unknown column 'np.person' in 'where clause'