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 (14622,18237,44863,6609,18894,17657,17556,45051,44867,30135,45567,32454,44768,16885,44767,34194,44835,18572,44875,18301,39676,43800,44873,6862,17848,44894,13922,18900,18172,28530,44845,45177,17755,44739,17092,44671,18185,44689,30963,18648,24411,44869,17771,17009,45517,18996,44868,30986,45561,44866,44531,18042,5410,4765,17527,3883,44762,44884,19078,13425,18652,3,18427,16935,8753,44861,13988,45515,24438,44685)
Unknown column 'np.person' in 'where clause'