I looking for year pivot data with this following query in MS Sql server

```
select month(createdatetime) as month,
       year(createdatetime) as year,
       count(*) as members
from [toneexcel].[dbo].[teUserMemberSIMAcc] 
where year(createdatetime) > '2015' and status = 'AC'
group by month(createdatetime), year(createdatetime) 
order by year(createdatetime), month(createdatetime)

```

please suggest me, TQ

current output is 

```
Month| year | members
-----------------------
1   2016    12914
2   2016    13338
3   2016    13633
4   2016    11110
5   2016    9868
6   2016    7088
7   2016    6785
8   2016    8260
9   2016    8386
10  2016    8506
11  2016    7187
12  2016    7976
1   2017    8535
2   2017    12744
3   2017    579

```

Expected output is 

```
Month | 2016   | 2017
----------------------
1       12914  | 8535
2       13338    12744
3       13633    579
4       11110
5       9868
6       7088
7       6785
8       8260
9       8386
10      8506
11      7187
12      7976

```