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 (44669,5410,45229,17703,44531,45277,45515,3,24441,17755,17601,19057,28313,44835,44837,44765,44836,6875,5259,44856,45561,37057,45421,17556,44745,18650,18427,44764,45051,4686,44775,17237,44894,44739,6782,44849,5993,44851,17351,18996,45518,18446,30963,19078,44674,45042,17492,17009,44878,45516,18042,37267,44687,45286,24412,30986,45567,44875,17771,24411,24438,17657,18172,18794,18688,13922,16885,14402,18652,45072)
Unknown column 'np.person' in 'where clause'