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 (44689,36472,44875,18430,14402,4686,13922,17492,44775,44767,18301,24411,37267,14622,19057,44671,22509,17009,18719,44764,6609,18996,5993,18981,44869,45072,44858,16885,43800,44745,18042,16935,17351,28530,18794,6875,44685,44856,18185,45421,45516,44866,17756,44868,45567,44863,45180,18172,44640,30986,44853,44531,44835,45286,17839,18652,44674,44855,45262,44867,17556,18279,13425,13,18648,5259,44768,44836,44845,44878)
Unknown column 'np.person' in 'where clause'