0

既存のテーブル列に基づいて新しいテーブルを作成する方法を知りたいだけです:

Current Table name : EmployeeDetails
Columns: empName, Address, pincode, state, city
Primary key is : pincode

EmployeeDetails から新しいテーブルを作成したい:

New Table name : Information
column :pincode, state, city ---> from EmployeeDetails table
4

1 に答える 1

3

使用できますselect ... into

select  pincode
,       state
,       city
into    Information
from    EmployeeDetails
于 2013-04-13T17:56:04.887 に答える