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 (44711,17848,44858,34194,17114,14402,18894,44856,17237,44848,44531,28530,19078,24411,45517,6875,45346,44867,22509,44884,44873,14622,44640,44875,44868,45072,44687,44685,18301,44894,44836,45516,44775,44863,18237,44669,17904,43800,17492,31354,18648,5388,44767,24441,9341,18652,17601,45042,30963,4765,17335,17527,16935,32454,18794,45229,44689,45277,44853,5259,44766,17771,44866,44855,17351,18981,13988,44764,28313,18430)
Unknown column 'np.person' in 'where clause'