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,17904,17601,44640,17527,45072,18900,44669,44858,44739,45277,44848,45286,44853,17278,44685,18996,44674,44711,44836,17771,44865,30135,44866,17657,45262,44764,44671,6875,6782,18286,18430,44689,6862,5388,24412,44855,22509,44884,45229,17835,14622,18172,45518,44878,18237,18427,18185,44869,17335,37057,18301,44845,13922,44894,8753,17981,5259,18650,4686,43800,37267,44861,31354,45516,5993,44835,18981,44863,19078)
Unknown column 'np.person' in 'where clause'