I\'m trying to query select statements using JDBCTamplate. select statement: SELECT currency, SUM(amount) AS total FROM table_name WHERE user_id IN (:userIdList)
SELECT currency, SUM(amount) AS total FROM table_name WHERE user_id IN (:userIdList)