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 (44856,45561,44768,13988,6875,18996,18648,6862,17835,17527,5410,18446,17601,44531,17278,44870,17335,18894,17492,24412,45262,17771,44849,18652,17904,45177,44674,17009,45515,14402,18688,44875,18794,13425,6609,18042,30986,18427,45180,17237,17556,34194,44851,44868,18237,44835,32454,28313,6782,44836,44687,19057,44745,18185,4765,45516,18286,44762,45042,44837,5388,43800,44854,13,18900,44764,24411,17657,44689,44853)
Unknown column 'np.person' in 'where clause'