2018年6月3日

摘要: 这是我的初始报错的代码: 会报这个错误,“Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the ri 阅读全文
posted @ 2018-06-03 17:03 youyou0 阅读(4711) 评论(0) 推荐(1) 编辑
 
摘要: 一、本次数据库中有student,course,sc表,其设置情况 这是创建表时直接插入外键,也可以创建表后再对sc表插入外键 二、验证其参照完整性。这个时候,我们再对sc表添加student表里没有的sno,course表没有的cno,都不被允许。删除student表或course表中sc中出现过 阅读全文
posted @ 2018-06-03 16:15 youyou0 阅读(4106) 评论(0) 推荐(0) 编辑