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 (8753,18572,44870,37267,17771,45517,45421,24438,6862,44689,45567,32454,44861,44866,30963,17981,44856,45042,17492,44836,45072,44845,30986,18353,22509,18981,44531,44894,44739,44640,31354,30135,17839,3883,18042,6782,18430,18650,45518,17335,45277,45043,18688,13,14622,45286,44873,17114,18446,45051,17657,44745,17278,5388,44868,44858,6875,44865,18279,17351,18237,18301,44875,5993,45561,13922,5259,45177,44854,17527)
Unknown column 'np.person' in 'where clause'