A表为B表的结构,如何根据A表建B表
现在有一个A表是B表的表结构 
 A表: 
    ID      字段                        数据类型                              值 
 1         comid   	INT                                             1    
 2         company	NVARCHAR(200)         公司A 
 3         city                              NVARCHAR(200)            城市A 
 1         comid   	INT                                             2    
 2         company	NVARCHAR(200)         公司B 
 3         city                              NVARCHAR(200)            城市B 
 1         comid   	INT                                             3 
 2         company	NVARCHAR(200)         公司C 
 3         city                              NVARCHAR(200)            城市C 
 问下:如何根据A表的数据,来得到B表 
 comid      company   city 
 1                  公司A            城市A 
 2                  公司B            城市B 
 3                  公司C            城市C   
------解决方案--------------------select comid, company, city into tableB from tableA
------解决方案--------------------select comid,company,city into b from a