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 (44853,18279,3,45286,45051,44640,45561,44674,44835,44848,18172,44762,45043,17556,44531,13988,45229,43800,28313,19057,44867,45180,13425,5993,44851,17092,18894,3883,19078,44687,44861,44689,17771,16935,6875,6862,18650,44865,18648,17848,44873,44669,17904,18286,37057,24411,44711,17981,18996,44836,44745,44869,17114,44765,32454,30963,44863,5388,45277,44894,37267,44775,18042,17351,44870,4765,18981,18572,17835,18688)
Unknown column 'np.person' in 'where clause'