根据给出的数据库表的结构和要求,写出相应的Sql语句

试用SQL的查询语句表达下列查询: (1)查询姓‘刘’的老师所授课程的课程编号号和课程名。(2)查询在1990年1月1日以后出生的学生信息。(3)查询‘数据库’这门课的授课学时和学分。(4)查询‘数据库’这门课的上课时间和上课地点。(5)查询‘数据库’这门课的授课教师姓名、性别和联系电话。
对于教学数据库的几个基本表就是上面的那几个图

--1 什么数据库
select tc.cno,c.cname from teacher_cource tc ,teacher t, course c
where tc.tno = t.tno and tc.cno=c.cno and t.tname like ''刘%';追问

sql server 2005

追答

--1
select tc.cno,c.cname from teacher_cource tc ,teacher t, course c
where tc.tno = t.tno and tc.cno=c.cno and t.tname like '刘%';

--2 对sql server 的日期不熟悉
select * from student t where t.birthday > '1991-01-01';

--3
select c.lecture,c.credit from course c where c.cname='数据库';
--4 select tc.classtime,tc.classroom from teacher_course tc , course c
where tc.cno = c.cno and c.cname='数据库';
--5
select t.tname,t.sex,t.tel from teacher_cource tc ,teacher t, course c
where tc.tno = t.tno and tc.cno=c.cno and c.cname='数据库';

我电脑上只有txt,ms文档,不能建表试运行,你电脑上应该有吧,试下,是否可行!不足之处请指出。

温馨提示:答案为网友推荐,仅供参考