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 (44875,17278,18427,18794,18237,17556,44854,45042,16885,17657,44671,18301,17351,3883,14402,5410,30135,18279,18650,22509,18894,44739,18172,17009,28313,44764,17114,18648,6862,16935,45262,24412,30963,44531,44835,17756,18446,45516,37267,17835,44863,18719,44853,18900,44865,44855,45277,18185,13922,17755,18353,24411,44775,24441,32454,44685,45517,14622,44640,44745,6875,17601,17703,44867,18286,44836,45346,44766,17904,17492)
Unknown column 'np.person' in 'where clause'