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,10402,44764,17092,30986,16885,17351,44863,44865,45042,45072,45177,17492,44861,28530,44745,24441,45180,44836,45051,6782,44671,17835,44868,44640,44884,44853,18652,45043,14402,44775,45561,13922,44869,31354,18279,18430,44669,44856,45516,17904,13988,19057,45421,18648,44765,30963,5388,17237,45286,44848,5259,45229,22509,4765,18894,44873,18446,18572,45262,17771,24411,44851,44739,44766,18650,45346,43800,44858,24412)
Unknown column 'np.person' in 'where clause'