日期:2014-05-18 浏览次数:20431 次
create table A(姓名 nvarchar(10),工资 int) insert A select '小王', 2000 union all select '小张', 1200 union all select '小非', 2000 union all select '小赵', 5000 union all select '大张', 5000 union all select '大非', 4000 union all select '大赵', 6000
------解决方案--------------------
create database student
use student
create table Student(Sno int primary key,Sname char(8) ,Ssex char(2),Sage smallint)