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 (44866,44835,45561,13,45515,17601,30963,24412,44671,30135,17351,45072,19078,17556,44768,18286,18172,44873,18237,44884,17835,5410,45346,17527,45262,17839,17114,44685,17278,32454,45042,22509,19057,44855,44745,17703,18572,24438,24441,17756,28313,34194,44868,6862,45518,18648,44854,44849,18042,44531,5388,24411,17492,28530,5259,44836,44739,44764,44669,4765,6782,31354,3,44689,44853,45421,18353,17237,44878,44837)
Unknown column 'np.person' in 'where clause'