user: ### NOW ANSWER:
Question: How much 2000 has a 2005 smaller than 583590, and a 2009 smaller than 156761, and a 2002 larger than 1393020?
Columns: ['Country or territory', '2000', '2001', '2002', '2003', '2004', '2005', '2006', '2007', '2008', '2009', '2010', '2011']
Types: ['text', 'real', 'real', 'real', 'real', 'real', 'real', 'real', 'real', 'real', 'real', 'real', 'real']
Sample row: ['Indonesia', 1313316.0, 1364380.0, 1393020.0, 1341747.0, 1765324.0, 1813569.0, 1922217.0, 1962055.0, 1765429.0, 1745330.0, 2305149.0, 2592222.0]
SQL:

assistant: SELECT SUM("2000") FROM "Table" WHERE "2005" < 583590.0 AND "2009" < 156761.0 AND "2002" > 1393020.0;