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 (13425,17009,17981,36472,19057,17092,45177,44853,14622,6609,24438,30135,44711,17278,18900,44849,28530,45561,24412,44878,45051,6862,44674,45286,44866,45180,22509,45567,44894,17771,17114,44767,5388,17351,18794,13,18353,17335,44687,18427,24411,3883,30963,44855,44863,44835,44765,18652,44745,44869,17848,44861,44762,45518,44884,34194,44865,18648,44837,44868,18688,37057,9341,17835,18042,45277,44766,18286,44848,44671)
Unknown column 'np.person' in 'where clause'