emp_record_change_log_tbl
has the following columns. I want the query to be like this, where "SQL code needed" will be the query to get the name of the person who entered the first record for a specific employee.
Select
change_id,
Emp_ID,
new salary,
{sql code needed} as first_entered_by
from
emp_record_change_log_tbl
I know that at some point I will need a min function to first get the initial date.
But the result I am hoping for is to get John doe for employee 103 and Sarah Smith for employee 102.