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 (44768,24441,13425,45051,18981,28313,17335,44766,17839,44868,17556,18427,18794,13922,44875,17756,37057,17527,18650,44855,44835,17237,45277,30963,44711,9341,18894,44669,8753,6875,18446,31354,10402,4686,44845,30986,18719,44775,5388,44884,45516,17092,44894,18353,14622,44671,18172,44865,19057,44866,45072,5259,44685,44674,24412,45421,34194,30135,6609,44878,16885,44687,44762,17278,45262,45043,44853,44767,44848,17835)
Unknown column 'np.person' in 'where clause'