随笔分类 -  数据库系统

摘要:SCHENE instructor关系: instructor(id, name, dep_name, salary) course关系: course(course_id, title, dept_name, credits) department(dept_name, building, bud 阅读全文
posted @ 2021-11-22 14:45 YanAemons 阅读(123) 评论(0) 推荐(0)
摘要:SQL语言分为 数据定义语言(Data-Definition Languagem DDL) 数据操纵语言(Data-Manipulation Languagem DML) 完整性(integrity) 视图定义(view definition) 事务控制(transaction control) 嵌 阅读全文
posted @ 2021-11-21 12:55 YanAemons 阅读(35) 评论(0) 推荐(0)
摘要:外连接 select * from student natural join takes 实际上有三种外连接 左外连接 右外连接 全外连接 视图 视图定义 create view faculty as select ID, name, dept_name from instructor ​ ​ cr 阅读全文
posted @ 2021-11-21 12:55 YanAemons 阅读(60) 评论(0) 推荐(0)