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 (44855,31354,18981,18172,17237,44863,6782,43800,18794,17009,32454,44531,17492,45346,13988,44866,44762,14622,44865,44669,9341,17092,22509,44894,44858,45286,30986,44768,18353,44685,3883,17556,45229,13425,10402,14402,13922,44853,17839,44765,44875,45516,44856,17756,45421,45561,44739,5388,16935,18648,44640,45043,13,6875,44870,44835,18427,45072,30135,17657,5259,44674,18650,45051,17703,44687,18279,45277,8753,44868)
Unknown column 'np.person' in 'where clause'