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 (9341,13425,44854,19078,44884,18719,17771,39676,6875,17756,5259,3883,44762,28530,6862,18900,24438,45515,44764,45561,31354,44848,44835,45518,45286,44689,44836,44867,5410,17492,18427,4765,17904,18652,44745,17835,37057,45229,44870,17981,18301,18981,45262,17527,17278,19057,17755,14402,44865,18650,44687,45516,5993,45517,18185,18894,5388,43800,16935,44531,44837,24441,44868,44765,44767,17556,44685,45042,18042,17839)
Unknown column 'np.person' in 'where clause'