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 (45286,17756,13922,17835,34194,44868,17703,30135,30963,17278,19078,36472,44711,14622,44768,17657,44745,5259,18446,44858,44835,44764,18719,44689,44845,44866,44854,28313,43800,45515,45517,45072,44870,45180,18688,44884,44766,17527,44855,44836,44767,18185,5388,18996,19057,17114,18286,31354,5993,18794,13988,4765,24441,44875,45043,44762,22509,44640,6609,45277,44739,45262,44873,44531,6875,18900,3,45516,17492,8753)
Unknown column 'np.person' in 'where clause'