Ajay

Ajay

  • NA
  • 52
  • 84.3k

Inserting data into table using select query

Mar 9 2012 1:01 AM
Hi

 I have one table like
  Columsns

 ID(Primary key)    AP        MP      TN     MP      .....   These are all state names as columns


my query returning the data like 

 Statename       Count
 AP                     10
 MP                     20
TN                      30

How can i insert  this result set in to table in sql server.

Please help

Regards
Ajay


Answers (2)