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 (44837,44873,14402,44671,45561,44868,18446,44640,44856,44863,5410,44768,17009,45518,13988,45180,34194,17351,24411,28313,18650,44865,37267,28530,30963,5388,45421,18279,19078,18894,17703,44766,17835,18572,44858,3,32454,18652,14622,17492,44765,18648,44848,24412,18981,3883,44685,44894,45286,17278,44745,31354,36472,44836,17114,17556,18353,17839,8753,18900,6875,18719,37057,45229,45517,45177,18172,9341,16935,44851)
Unknown column 'np.person' in 'where clause'