Oracle
 sql >> Base de données >  >> RDS >> Oracle

Comment puis-je SÉLECTIONNER plusieurs valeurs dans 5 tables ?

Une grosse jointure comme celle-ci :

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';