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 (44863,13922,5993,14622,44867,44873,18237,4765,4686,44669,45421,45043,18894,17278,24438,5388,17237,17492,30135,37267,10402,30986,45072,17755,28530,5410,17601,45516,44671,44849,44851,13425,44766,45051,44861,6875,44869,18430,44835,44836,9341,18185,22509,18286,44848,17981,6609,44687,6862,18572,44685,18042,28313,44870,44775,18900,44531,37057,36472,45561,44884,44674,17839,3,45515,44878,18650,5259,44894,44768)
Unknown column 'np.person' in 'where clause'