导出myschool中的数据
--(方法一)
insert into studentaddress(studentno,phone,[address],email)
select studentno,phone,[address],email
from student
select * from StudentAddress
--(方法二)
select studentno,phone,[address],email
into studentaddress
from student
---以上两种写法 都是导数据
--插入数据方法
insert into 表名(列名)
sele 列名 union
sele 列名 union
sele 列名
--更新数据
update 表名 set 列名='新值'
update StudentAddress set Email='无邮箱' where Email is null
select * from StudentAddress
--删除数据
delete from StudentAddress where Email='无邮箱'
--truncate方法标识列从新生成
truncate table studentaddress