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 (28530,44853,44851,45042,45346,30135,18301,22509,45043,3883,17278,18172,19057,16885,30986,44836,4765,45277,14622,44869,18996,5993,45421,44775,17527,18650,16935,44689,45286,24441,44856,45516,44867,44884,17556,44894,37057,44845,17771,18042,39676,18794,45177,19078,45072,44687,18353,44745,17839,44870,44848,24438,18688,18237,17351,45567,44873,44866,44739,18648,37267,17092,44765,17237,5410,44865,13922,24411,44875,18900)
Unknown column 'np.person' in 'where clause'