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 (3883,17009,18688,44870,14402,44848,18279,45567,17756,17335,45042,24441,44851,18996,36472,13,44689,45072,17904,45561,18719,30963,45346,14622,44867,19057,44873,18301,45262,18172,18572,4686,34194,5410,24438,44884,13988,44855,17601,17657,18286,44685,17278,44768,44671,44745,45177,44856,28530,45517,44845,44865,17351,44764,3,44674,18900,44669,44762,30986,18042,32454,30135,45516,44875,44854,44836,18430,43800,6875)
Unknown column 'np.person' in 'where clause'