I have 3 postgresql tables as follows
employees
emp_name | emp_id | user_name | psw | etc
work
Work_id |work_type| Project_manger_id(employee) | Architect_id (emp) | tech_lead_id | dept_id
dept
dept_id | dept_name
now what I want is a table like this
work_type | project_manager (name) | architect (name) | tech_lead (name ) | dept (name )
Simply, what I want is to get the work table but replacing id's with names