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 (44762,14622,18185,18981,44685,18719,13922,44858,18172,19057,30963,44531,44689,6875,17981,17904,18652,24441,18427,17657,44878,22509,45177,13425,18301,17848,18042,5410,17009,17278,24438,17556,44863,45042,44866,44835,44711,44861,31354,44868,44855,13,18650,44849,13988,18648,45286,18572,39676,45262,17351,44687,44865,44856,44836,3883,44869,44640,5388,44671,30986,44745,8753,44739,45277,17771,6609,24412,4686,45229)
Unknown column 'np.person' in 'where clause'