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,30135,18900,28313,31354,17904,17237,13988,17527,17981,17492,32454,44873,45262,45421,17009,24411,44674,17601,44687,10402,30986,17657,45567,18446,45286,36472,18301,45180,18688,37057,34194,3,45561,44878,4686,44669,44848,44865,18279,5993,45517,44836,44640,4765,17278,18237,17848,17556,45229,45346,13425,18042,44689,18650,39676,6782,16885,24441,45072,44837,17703,30963,45518,6875,43800,8753,45277,44685,44766)
Unknown column 'np.person' in 'where clause'