zoukankan      html  css  js  c++  java
  • 实验三

    insert into student values('95001','李勇','男','20','cs' 
    )
    go
    insert into student values('95002','刘晨','女','19','is')
    go
    insert into student values('95003','王敏','女','18','ma')
    go
    insert into student values('95004','张立','男','19','is')
    go
    select * from student
    go
    insert into course values('1','数据库',null,'4')
    go
    insert into course values('2','数学',null,'2')
    go
    insert into course values('3','信息系统',null,'4')
    go
    insert into course values('4','操作系统',null,'3')
    go
    insert into course values('5','数据结构',null,'4')
    go
    insert into course values('6','数据处理',null, 
    '2')
    go
    insert into course values('7','pascal语言',null,'4')
    go
    select * from course
    go
    update course set cpno=5 where cno=1
    go
    update course se 
    t cpno=1 where cno=3
    go
    update course set cpno=6 where cno=4
    go
    update course set cpno=7 where cno=5
    go
    update course set cpno=6 where cno=7
    go
    insert into sc values('95001','1','92')
    go
    insert into sc values('95001','2','85')
    go
    insert into sc values('95001','3','88')
    go
    insert into sc values('95002','2','90')
    go
    insert into sc values('95002','3','80')
    go
    select * from sc
    go
    delete from sc
    go
    delete from student
    go
    delete from course
    go 
    
  • 相关阅读:
    hdu 1225大水题
    hdu2102广搜
    hdu1403 赤裸裸的后缀数组
    hdu 1526 poj 1087最大流
    hdu 1557暴力枚举
    hdu 1240广搜
    hdu4416 后缀数组
    hdu1113大水题
    hdu2222赤裸裸的DFA
    hdu4476水题
  • 原文地址:https://www.cnblogs.com/wc1903036673/p/3408750.html
Copyright © 2011-2022 走看看