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 (44745,36472,44640,17092,24441,45043,44711,18652,5259,3883,44531,45262,44845,45561,44775,45518,24411,44854,18446,45177,17527,18427,9341,18719,43800,17335,45072,37267,44836,44835,17835,30135,44768,44767,44671,17492,44837,17703,28530,17981,18430,5410,13425,17771,44884,44869,45567,44766,30963,44764,31354,18301,44868,44875,4765,18042,13,44851,3,8753,18286,17756,44856,5388,18237,44669,45229,44739,18353,44870)
Unknown column 'np.person' in 'where clause'