SQL查询语句职称为"教授"的教师所授课程及学时

2025-03-06 11:28:56
推荐回答(3个)
回答1:

create table professor
(
professorid int identity(1,1) primary key,--ID
stutime int,--学时

professorname varchar(6),--名字
curriculum varchar(10)--课程
)
insert into professor values(100,'教授','高数')
select stutime,curriculum from professor where professorname='教授'

有错勿怪啊,直接手打的。

回答2:

select 课程, 学时 from 表 where 职称 = '教授'

回答3:

数据表呢。。。。