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 (44764,30135,14402,5410,44689,17756,18237,5388,5993,6875,17981,44884,44863,8753,45229,44687,44836,19078,17556,13922,18446,28530,18042,18301,17335,32454,17092,45277,44855,44837,44853,18286,18688,17839,13988,17009,31354,36472,18279,44669,18353,45561,44767,45346,44768,4765,44858,44868,17492,45042,17848,44762,45517,5259,19057,44849,44878,13425,17527,45262,9341,30963,44745,17237,44851,44739,18427,44671,44775,44766)
Unknown column 'np.person' in 'where clause'