SQL Query to get all days of month with specific data
Hello,I have one table STOCK_REGISTER where I have item wise transaction data as below
ITM_ID Qty Date
319 65 2017-04-01 07:56:13.383
30 2100 2017-04-01 08:26:36.090
56 10000 2017-04-01 19:02:23.123
319 60 2017-04-02 07:49:02.780
319 60 2017-04-05 08:01:34.187
166 38 2017-04-06 08:11:56.183
319 60 2017-04-07 10:32:11.210
319 60 2017-04-08 08:14:38.540
Now I want monthly report where I want Sum of Qty group by Itm Id and date, It displays sum of qty for all dates where some transaction are done but I also want dates where no transaction is happen.
How to achieve this?