Database: loan_1
Question: Find the total amount of loans provided by bank branches in the state of New York.
SQL: select sum(t2.amount) from bank as t1 join loan as t2 on t1.branch_id  =  t2.branch_id where t1.state  =  'new york'