【紧急求助】:一个数据库ER图及SQL语句的实现,多谢

chaosllgao 2007-07-24 10:47:21

1。Propose a relatively simple schema design for a school which will need to track students, courses, faculty, and grades. Please state assumptions you made on each entity and relation. (Draw ER diagram)







2。Then write a SQL query to report each student’s average grade under each faculty member. (Write in SQL syntax. See output example blow.)






Example Output:
Faculty Name Student Name Avg. Grade student received on
courses taught by this teacher

John Smith Jane Thompson 92
John Smith Matt London 84
Mary Johnson David Lewis 68
Mary Johnson Jane Thompson 75
...全文
205 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
谁是谁的谁 2007-07-25
  • 打赏
  • 举报
回复
抢个SF帮你顶

34,590

社区成员

发帖
与我相关
我的任务
社区描述
MS-SQL Server相关内容讨论专区
社区管理员
  • 基础类社区
  • 二月十六
  • 卖水果的net
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧