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 (44854,17237,44687,44711,17848,43800,14622,44837,37267,45286,45051,32454,18648,44640,24441,44835,44875,18353,3883,44767,30135,18446,44689,44531,44878,24412,17703,18427,30986,3,17527,45043,44775,18279,24411,45229,5388,44848,28530,13425,22509,18900,45277,18650,44745,45561,6782,44851,17351,19057,5259,16935,17755,44861,44855,44863,17278,44845,44884,45346,16885,37057,44867,44866,17556,28313,44768,18719,18301,44764)
Unknown column 'np.person' in 'where clause'