摘要: 这个作业属于哪个课程 这个作业要求在哪里 这个作业的目标 <索引和视图> 1.使用SQL语句ALTER TABLE分别删除studentsdb数据库的student_info表、grade表、curriculum表的主键索引。 mysql>use studentdb; alter table stu 阅读全文
posted @ 2023-10-20 19:45 杨11 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 1.在student_info表中查找与“刘东阳”性别相同的所有学生的姓名、出生日期。 select 姓名,出生日期 from student_info where 性别=(select 性别 from student_info where 姓名='刘东阳'); 2.使用IN子查询查找所修课程编号为 阅读全文
posted @ 2023-10-20 08:45 杨11 阅读(56) 评论(0) 推荐(0) 编辑