数据库插入数据表的脚本

IT技术2年前 (2022)发布 投稿用户
0

大家可以下载下面已经制作好了的脚本 也可以复制下面代码自己复制到新建查询里面去

sql插入数据表的脚本

sql插入数据表的脚本

use students
go           --这里表示 使用students这个表执行下面的代码
insert areaInfo(areaId,areaName) values('5800','市直属')
insert areaInfo(areaId,areaName) values('5801','船山区')
insert areaInfo(areaId,areaName) values('5802','安居区')
insert areaInfo(areaId,areaName) values('5803','射洪县')
insert areaInfo(areaId,areaName) values('5804','蓬溪县')
insert areaInfo(areaId,areaName) values('5805','大英县')
insert schoolInfo(schId,schName,areaId) values('000001','遂宁中学','5800')
insert schoolInfo(schId,schName,areaId) values('000002','遂宁一中','5801')
insert schoolInfo(schId,schName,areaId) values('000003','遂宁二中','5801')
insert schoolInfo(schId,schName,areaId) values('000004','遂宁四中','5801')
insert schoolInfo(schId,schName,areaId) values('000005','安居育才中学','5802')
insert schoolInfo(schId,schName,areaId) values('000006','西眉中学','5802')
insert stuInfo(schId,stuIdentity,stuName,stuPwd,classId,stuSex,applyNum,examNum,stuId)
 values('000002','510902199701010001','陈虹','123456','01','女','5000000001','5000000001','20160001')
insert stuInfo(schId,stuIdentity,stuName,stuPwd,classId,stuSex,applyNum,examNum,stuId)
 values('000002','510902199801010002','刘林','123456','01','男','5000000002','5000000002','20160002')
insert stuInfo(schId,stuIdentity,stuName,stuPwd,classId,stuSex,applyNum,examNum,stuId)
 values('000002','510902199811010002','张志','123456','01','男','5000000003','5000000003','20160003')
insert stuInfo(schId,stuIdentity,stuName,stuPwd,classId,stuSex,applyNum,examNum,stuId)
 values('000002','510902199601010002','吴遥','123456','02','女','5000000004','5000000004','20160004')
insert stuInfo(schId,stuIdentity,stuName,stuPwd,classId,stuSex,applyNum,examNum,stuId)
 values('000002','510902199612120002','李群','123456','02','女','5000000005','5000000005','20160005')
insert stuInfo(schId,stuIdentity,stuName,stuPwd,classId,stuSex,applyNum,examNum,stuId)
 values('000003','511902199712121002','陈慧','123456','01','女','5000000006','5000000006','20160006')
insert stuInfo(schId,stuIdentity,stuName,stuPwd,classId,stuSex,applyNum,examNum,stuId)
 values('000003','511902199710111002','曹元','123456','01','男','5000000007','5000000007','20160007')
insert stuInfo(schId,stuIdentity,stuName,stuPwd,classId,stuSex,applyNum,examNum,stuId)
 values('000003','511902199810111002','朱文','123456','02','男','5000000008','5000000008','20160008')
insert stuScores(stuIdentity,schId,Yw,Sx,Yy,Wl,Hx) values('510902199701010001','000002',87,98,65,78,90)
insert stuScores(stuIdentity,schId,Yw,Sx,Yy,Wl,Hx) values('510902199801010002','000002',81,78,95,78,80)
insert stuScores(stuIdentity,schId,Yw,Sx,Yy,Wl,Hx) values('510902199811010002','000002',77,91,75,68,98)
insert stuScores(stuIdentity,schId,Yw,Sx,Yy,Wl,Hx) values('510902199601010002','000002',96,68,75,74,80)
insert stuScores(stuIdentity,schId,Yw,Sx,Yy,Wl,Hx) values('510902199612120002','000002',87,98,74,85,79)
insert stuScores(stuIdentity,schId,Yw,Sx,Yy,Wl,Hx) values('511902199712121002','000003',89,83,69,70,93)
insert stuScores(stuIdentity,schId,Yw,Sx,Yy,Wl,Hx) values('511902199710111002','000003',76,98,68,89,75)
insert stuScores(stuIdentity,schId,Yw,Sx,Yy,Wl,Hx) values('511902199810111002','000003',83,78,85,88,70)

官方下载

数据表插入脚本2018/4/2/16:23winxp/win7/win103kb志在指尖

© 版权声明
好牛新坐标 广告
版权声明:
1、IT大王遵守相关法律法规,由于本站资源全部来源于网络程序/投稿,故资源量太大无法一一准确核实资源侵权的真实性;
2、出于传递信息之目的,故IT大王可能会误刊发损害或影响您的合法权益,请您积极与我们联系处理(所有内容不代表本站观点与立场);
3、因时间、精力有限,我们无法一一核实每一条消息的真实性,但我们会在发布之前尽最大努力来核实这些信息;
4、无论出于何种目的要求本站删除内容,您均需要提供根据国家版权局发布的示范格式
《要求删除或断开链接侵权网络内容的通知》:https://itdw.cn/ziliao/sfgs.pdf,
国家知识产权局《要求删除或断开链接侵权网络内容的通知》填写说明: http://www.ncac.gov.cn/chinacopyright/contents/12227/342400.shtml
未按照国家知识产权局格式通知一律不予处理;请按照此通知格式填写发至本站的邮箱 wl6@163.com

相关文章