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 (44854,17114,44689,44768,45262,18650,45567,44531,18981,10402,19057,44851,44762,44671,44765,17556,44775,44845,18185,22509,5410,17092,44739,18572,18279,17527,8753,45180,9341,17756,13,36472,44867,44685,44835,3883,44674,14622,18446,44764,30963,45286,44687,16935,45561,13922,6782,17835,5259,44837,6609,4686,17492,17703,17601,44711,45051,45043,30135,5993,18894,44866,44853,17848,44745,17771,44873,44875,19078,45072)
Unknown column 'np.person' in 'where clause'