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 (24411,18301,24438,44768,45229,45561,17771,44640,18648,17335,9341,44836,28313,13988,44775,18430,16885,44845,45072,44766,17527,45051,17703,18572,44851,44849,16935,44835,44674,44865,14622,13425,32454,17756,44861,44687,18172,18446,24412,17492,13922,44867,44671,4686,5993,3883,45042,17601,17114,45277,31354,4765,44739,13,30986,6609,30963,45177,34194,17351,17278,45421,44873,44855,44878,18981,17848,22509,45518,44854)
Unknown column 'np.person' in 'where clause'