First, you join two tables based job number emp_no, then the need to query the current job is still in the leadership of the state's salary, so the need to add
where s.to_date='9999-01-01'
and d.to_date='9999-01-01'
First, you join two tables based job number emp_no, then the need to query the current job is still in the leadership of the state's salary, so the need to add
where s.to_date='9999-01-01'
and d.to_date='9999-01-01'