设有一数据库,包括四个表:学生表(Student)、课程表(Course)、成绩表(Score)以及教师信息表(Teacher)。四个表的结构分别如表1-1的表(一)表(四)所示,数据如表1-2的表(一)表(四)所示。用SQL语句创建四个表并完成相关题目。
https://www.cnblogs.com/diaozhaojian/p/5943683.html
select s.sno,s.sname,s.sbirthday from student s where to_char(s.sbirthday,'yyyy')= (select to_char(t.sbirthday,'yyyy')
from STUDENT t where t.sno='108')