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 (8753,45262,44674,28530,44835,44685,45180,17009,18981,44837,44873,9341,44845,18794,44851,4765,13988,37267,44849,18648,43800,28313,13425,44745,45042,3,44764,18688,44775,45516,37057,17278,14622,45561,17527,10402,18353,32454,17703,34194,17848,17835,44767,18446,44894,44870,13,44869,17492,18427,44836,44762,17657,44855,44640,17981,19057,5259,13922,6782,44689,6875,17114,44768,30986,45515,44875,17601,45229,5993)
Unknown column 'np.person' in 'where clause'