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 (43800,44869,32454,24441,17009,17601,13425,44855,18353,13988,45517,18688,45346,17839,6862,39676,8753,5410,44894,18237,16935,44767,44775,18301,44640,6875,19078,30986,44863,18794,24438,28313,44836,44858,17703,44875,3883,44745,44674,17835,44866,44865,18719,34194,18427,6782,18430,17657,44669,45516,17092,13922,45229,18996,22509,45277,44739,17237,17492,17756,6609,44764,28530,18446,17556,44848,30135,45262,44687,5993)
Unknown column 'np.person' in 'where clause'