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 (3883,30963,44851,44849,17839,6875,44853,45561,3,30986,44775,17657,44671,28313,44845,44854,18279,44739,24438,44762,17848,18172,5259,44531,44858,44687,44884,18688,18446,45421,5410,5993,45262,10402,24441,44848,13,45229,44868,44894,18894,18996,44835,45516,28530,45180,17009,44669,18900,44685,45515,44878,17237,44856,18237,44765,31354,9341,45346,5388,19078,18286,45286,13425,19057,44863,17835,18794,45177,18185)
Unknown column 'np.person' in 'where clause'