You shouldn't need to specify the max and min unless you wanted to filter it to a subsetSELECT BillDate, SUM(Price) AS SumDaylyPriceFROM Table1GROUP BY BillDateORDER BY BillDate;
This assumes that BillDate is of type DATE or DATETIME or SMALLDATETIME, and that you don't have any time portion stored in that column. If you do, change it to this:SELECT DATEADD(dd,DATEDIFF(dd,0,BillDate),0) AS BillDate, SUM(Price) AS SumDaylyPriceFROM Table1GROUP BY DATEADD(dd,DATEDIFF(dd,0,BillDate),0)ORDER BY DATEADD(dd,DATEDIFF(dd,0,BillDate),0);