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 (44711,3883,18237,44848,18650,17771,44671,18279,44873,14402,16935,30986,44775,44849,44837,44739,44875,44687,6862,44868,44894,44531,44689,45421,17839,13922,16885,14622,18427,17703,17092,44768,45346,45517,5993,17755,18172,18185,44855,45516,18794,32454,44764,45277,43800,44765,45043,45262,18652,44865,44845,17492,18981,6782,44867,17237,8753,44863,17278,18301,4765,28530,44853,17009,44674,17848,18894,22509,5388,17527)
Unknown column 'np.person' in 'where clause'