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 (37057,44855,44861,18042,13425,17848,18572,17556,18430,3883,19057,5259,17009,44640,44894,44775,34194,44884,44853,5410,17335,17092,44873,44768,45229,5388,8753,44674,45516,45180,30963,31354,36472,24438,45043,44854,13922,16885,13,44687,17839,44745,44835,45567,44764,24441,44869,17492,44837,44531,28313,10402,44858,44711,44849,6862,24411,22509,45561,17601,44856,16935,44851,17835,13988,45262,17703,5993,44865,44685)
Unknown column 'np.person' in 'where clause'