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 (19057,44878,24411,14622,18981,18652,18688,17092,44849,44669,18301,30986,6609,44869,17771,17492,4686,13425,44845,5259,44836,44687,45043,9341,44853,6875,17351,18572,6782,5993,44531,44854,17527,10402,44875,44861,45567,30963,5388,17556,44867,44685,16885,34194,44640,44835,44863,17835,24441,44739,17756,45516,44866,24412,30135,24438,18185,4765,13988,45072,16935,44868,18427,17848,44767,45515,13922,44762,45517,44764)
Unknown column 'np.person' in 'where clause'