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 (44745,44866,44711,44878,39676,30986,45072,45180,44884,44849,6875,18301,13922,44531,44861,18652,44869,44640,44835,45043,17771,44836,32454,44855,17351,17492,19057,13988,17527,45561,6609,18446,18237,17556,44873,44764,3,18719,17009,44765,34194,18648,16885,24438,44687,44894,45286,6862,5993,5388,17601,17237,28313,45518,24412,45051,44848,18279,17092,17755,44674,14622,44669,44870,44739,17657,44768,18185,45567,18172)
Unknown column 'np.person' in 'where clause'