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 (18650,14402,4765,5410,5388,18794,5259,18446,44884,44865,44848,44689,13988,44866,17556,44669,44671,44869,44858,17839,45229,44878,18652,13425,16885,10402,44836,22509,18353,45180,3,44845,17492,17835,44745,30135,18900,43800,17904,44640,45346,36472,45277,5993,18430,44687,9341,44768,17009,17335,17527,17351,13,44894,24441,17755,14622,45567,31354,17657,17771,16935,45518,37057,44870,44531,28313,6609,17237,17601)
Unknown column 'np.person' in 'where clause'