MySQL HIVE經典50題 21~25題

– 21、查詢不同老師所教不同課程平均分從高到低顯示 1 3個job select distinct * from( select t.tid,sc.cid,avg(sc.score)over(partition by t.tid,sc.cid) avg from teacher t,course c,sc where t.tid=c.tid and c.cid=sc.cid order by a
相關文章
相關標籤/搜索