Using SQL, how to calculate count of rows for each ID(column) for each month by using only datetime and put them in monthly columns?

后端 未结 0 1614
青春惊慌失措
青春惊慌失措 2020-11-21 04:30

I am relatively new to SQL. I have a dataset as follows:

   \'ID\'            \'date\'
     1      2016-01-01 01:01:06
     2      2016-01-02 02:02:07
     1          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题