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 (44878,44884,17114,17703,18172,17492,17904,30135,44870,28530,3,44863,19078,45567,16935,18688,39676,44775,28313,45515,45277,18446,10402,18279,18996,44685,18652,44689,45286,45262,17092,44894,6862,36472,13988,44845,44745,44531,44873,18185,13922,44867,44866,17278,44835,44711,44674,44848,45042,18794,17527,45421,18572,44640,17755,17657,22509,44836,44739,44687,14622,44766,45177,5388,18353,45229,18719,24411,18237,14402)
Unknown column 'np.person' in 'where clause'