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 (17703,44865,44848,17335,44767,22509,17092,44851,39676,43800,44854,45286,45567,45042,44674,24441,4686,17839,44689,18894,18996,17114,44764,45180,44849,17756,44861,24438,44775,17556,6782,18688,18719,44768,44745,44685,18353,45229,44765,17755,44837,44863,44870,13922,45072,24412,17657,44866,30963,14402,18279,9341,4765,24411,5993,19057,17527,19078,5388,17492,34194,18650,45516,13988,16885,17848,3883,44878,45421,36472)
Unknown column 'np.person' in 'where clause'