SQL Statements to get daily Report