更多限制条件
eSymphony 员工可能担任以下多个职位:
| Title |
|---|
| General Manager |
| IT Manager |
| IT Staff |
| Sales Manager |
| Sales Support Agent |
您打算建立一个导师计划。在有多名员工的职位中,资深成员将指导新入职的同事。为此,您决定为每个职位生成一份列表,包含该团队最新加入成员的职位与入职日期。
本练习是课程的一部分
Oracle SQL 入门
交互式实操练习
通过完成这段示例代码来试试这个练习。
-- Select the title and the date of the most recent hire
SELECT ___, ___(___) AS "Most recent hire date"
-- The data comes from the Employee table
___ ___
-- Group by title
___ ___ ___