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 (13425,18237,44762,39676,34194,45518,44775,44685,18353,17351,44674,6875,44745,44869,18996,24412,45042,44856,31354,44836,6862,17492,17657,45051,18427,24438,44849,8753,18430,45177,24411,18286,3883,18572,44835,18648,44873,45229,45277,28530,44858,14622,44865,45516,44640,44878,18981,18794,45561,9341,45180,17756,24441,17335,44875,44870,30135,19078,17092,13922,18719,44689,43800,45262,14402,45072,10402,44671,22509,45517)
Unknown column 'np.person' in 'where clause'