I use the same query to return one integer value between two dates which is a sum of column
SQL Query:
SELECT SUM(TransactionAmount) F