title: Sql query for month wise
body: <p>I was trying on a sql query where we have search on month wise</p>
  
  <p>for example my table is like</p>
  
  <pre><code>Username   visited  Visisted_Dated
  
     A          1       01/11/2010
     B          1       10/11/2010
     A          1       03/12/2010
     B          1       06/12/2010
     B          1       06/12/2010
     A          1       03/02/2011 
     B          1       05/02/2011
     A          1       11/03/2011
     A          1       20/03/2011
     B          1       01/03/2011
  </code></pre>
  
  <p>Now if i want to search the users for no of visited between Feb to April i need to get output as</p>
  
  <pre><code> Users Nov_2010  Dec_2010   Jan_2011   Feb_2011  March_2011 
     A       1         1        0           1           2               
     B       1         2        0           1           1         
  </code></pre>
  
  <p>Please let me know the way to proceed.</p>
  
  <p>Thanks </p>