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 (3883,18286,44531,17601,17755,44685,43800,18894,13425,30963,44878,44837,19078,30135,45072,18900,14622,44848,5410,44745,9341,17492,44856,17848,16935,44845,17981,37057,44762,3,18650,45517,5993,5388,18301,45515,44894,44858,45177,18648,17351,17527,18279,44766,18237,44873,44854,18719,34194,44739,44865,4686,45561,45277,13988,24411,18572,39676,45051,13922,37267,45516,5259,17556,44861,44875,44869,17839,44689,31354)
Unknown column 'np.person' in 'where clause'