摘要:
三表查询 在SQL查询中,多表中同时出现的字段,要指定表名。 select sname,course.cno,grade from student ,course,sc where stuent.sno=sc.sno and sc.cno=course.cno and year(bdate)=197 阅读全文
posted @ 2020-05-26 08:12
沂水蓝海
阅读(154)
评论(0)
推荐(0)
摘要:
补充定义外键 ALTER TABLE<表名> ADD FOREIGN KEY <> 撤销外键的定义 7.定义和撤销别名 create synonym 撤销:drop synonym 3.3.4 索引的建立和撤销 3.4.1 基本SQL查询语言 查询2个表中的内容时的两种写法及优劣分析: 有表:stu 阅读全文
posted @ 2020-05-26 07:08
沂水蓝海
阅读(111)
评论(0)
推荐(0)