這裏是我的查詢:如何在行中切換名稱?
select project_number, concat(first_name,' ',last_name) as employee_name, department_name
from ex.projects p right join employees e
On e.employee_id = p.employee_id
right join departments d
on d.department_number = e.department_number
order by department_name
如何切換兩個人的名字呢?需要「cindy smith」在「Ralph simonian」和「Robert Aaronsen」的底部「Ralph simonian」
人之間的任何特別提到,如果是因爲工作的狀態,你有一個關於剛剛通過此列JOIN表和組列 – 2017-09-14 22:46:04