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 (44894,44873,22509,44875,44863,18286,45072,17835,44689,24438,44855,13988,45516,45051,30963,17756,24412,44766,18446,18688,44854,44687,3,18648,45177,10402,18301,6782,44836,30986,4765,17904,14622,44775,44745,18572,44674,18237,44835,17755,44845,45346,28313,44858,18427,44640,17527,17492,45229,18042,45277,45180,24411,45421,44865,18430,44849,39676,18900,13922,17114,44685,34194,37267,8753,44531,30135,18794,16885,44870)
Unknown column 'np.person' in 'where clause'