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 (44845,3883,37267,18981,6782,13,9341,45177,45180,18185,4765,44863,44855,17756,44869,45515,44687,18279,24441,18353,34194,45346,44669,18688,44762,22509,8753,45277,44640,24438,24411,10402,17092,17601,13988,45561,5388,45516,37057,18648,44868,13425,44884,44866,44765,30135,44858,39676,6875,43800,44689,17492,17839,13922,45042,5993,16935,44671,18650,18301,18430,17657,44848,44531,45229,44853,44674,17848,44739,17114)
Unknown column 'np.person' in 'where clause'