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 (44861,30135,44775,45421,44848,44767,18286,45516,13,24412,44870,44669,45561,36472,17009,18446,13922,17839,32454,18042,45072,3883,44762,17527,18688,6862,6609,24438,44875,28530,44858,6875,37267,30963,44687,18172,45346,43800,44878,17114,18237,13425,17556,17848,44768,16885,18894,44867,8753,17703,19057,18650,18652,44745,22509,17756,17981,5388,14402,18996,28313,18430,17835,45286,18301,17657,24441,3,17755,18572)
Unknown column 'np.person' in 'where clause'