
数据库
Michell_fire
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
数据库基本操作
creat database newdemo creat table student (字段名 数据类型,字段名2 数据类型。。。) drop database 数据库名 drop table 表格名 delet from table where id = ‘11’ update table set =id raplace(‘id’,‘11’,‘22’) insert into from table (id,name) value (11,nn) select * from table order by原创 2020-05-15 09:14:40 · 212 阅读 · 0 评论 -
关于数据库的常用sql
Student(S#,Sname,Sage,Ssex) 学生表 Course(C#,Cname,T#) 课程表 SC(S#,C#,score) 成绩表 Teacher(T#,Tname) 教师表 问题: 1、查询“001”课程比“002”课程成绩高的所有学生的学号; select a.S# from (select s#,score from SC where C#=‘001’) a,(selec...转载 2019-07-23 15:40:11 · 769 阅读 · 1 评论