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 (44835,14622,45567,16935,44854,44762,44858,17351,43800,24411,8753,9341,44687,18650,18446,44739,45229,6875,18042,18794,44865,4765,13922,17755,16885,17839,4686,44640,30963,18172,44689,18900,17657,45518,44848,44766,6862,14402,44845,44856,45421,13425,45277,3,19078,44863,17009,45051,44685,5410,17237,3883,44866,44873,19057,24441,13988,17848,17278,30135,18185,31354,17092,17492,30986,44855,18237,45262,13,44765)
Unknown column 'np.person' in 'where clause'