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,44669,28313,17527,39676,18996,14622,17904,17756,18652,44640,44762,18279,30986,18794,45518,17755,6875,31354,17839,44836,45229,44766,44835,36472,5259,18042,44685,13988,44739,19057,30963,45262,6862,44837,34194,44878,17237,44861,45515,18650,45517,18894,18301,45561,44870,44854,18900,18172,44674,44775,8753,17335,44711,44768,4765,44687,17556,44866,17703,44855,45072,44869,44867,17009,24412,44745,24411,44851,44689)
Unknown column 'np.person' in 'where clause'