Oracle
 sql >> Base de Dados >  >> RDS >> Oracle

Como posso SELECIONAR vários valores de 5 tabelas?


Uma grande junção como esta:
Select s.staff_name,
H.Hardware_name,
Sf.Software_name,
P.Project_name,
P.Project_type --you get the idea. Select other columns if you need
From assignments a
Inner join staff s on a.staff_id = s.staff_id
Inner join software sf on a.software_id = sf.software_id
Inner join hardware h on a.hardware_id = h.hardware_id
Inner join project p on a.project_id = p.project_id
Where a.project_id = 'A0001';