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 (17351,18353,13,24441,44873,44669,19057,18301,43800,18900,45515,6875,17657,44870,14622,44640,44865,4686,44835,44869,34194,18648,19078,14402,16935,44855,3883,17839,39676,30963,17601,44868,17848,17981,17237,45517,44836,18894,44878,17492,44689,44894,17556,17771,44762,6862,18652,44531,3,18688,24411,17335,44687,44849,18981,44867,36472,37267,44851,17703,13425,4765,18185,5388,24412,18572,44863,45286,45346,44775)
Unknown column 'np.person' in 'where clause'