title: Incorrect syntax near ',' SQL Server Error
body: <p>I am having the following error on my SQL Server Query I don't know how to overcome it Because I tried my best Please help me getting out of it:</p>
  
  <pre><code>      CREATE TABLE d3 as SELECT sessionnumber, sessioncount, LEFT(timespent, 1) , COUNT 
        as cnt
        FROM clusters
        GROUP BY 1, 2, 3
  </code></pre>
  
  <p>The following error is generated:</p>
  
  <pre><code>   Msg 102, Level 15, State 1, Line 1
     Incorrect syntax near ','.
  </code></pre>
  
  <p>Please help me! Thanks in advance</p>