Is this possible with plain SQL ? I have the following source table definition :
employee_name employee_manager_id
jack Bill
jack Gates
jill Ellison
An employee can have a max of 2 records in the source table
I need the following in the target table
employee_name employee_manager_1 employee_manager_2
jack Bill Gates
jill Ellison <NULL>
Can I achieve this using plain SELECT statements on the source table ? Thanks!
employee_name employee_manager_id
jack Bill
jack Gates
jill Ellison
An employee can have a max of 2 records in the source table
I need the following in the target table
employee_name employee_manager_1 employee_manager_2
jack Bill Gates
jill Ellison <NULL>
Can I achieve this using plain SELECT statements on the source table ? Thanks!