Query Tree (Initial Tree) BASIS DATA Query Tree (Initial Tree) 1
Narasi Tampilkan Nomor proyek, Nomor departemen,Nama akhir pegawai, alamat dan tanggal lahir dari manajer Depertemen yang membawahi Project yang berlokasi di “Stafford”
SQL SELECT P.PNUMBER, D.DNUMBER, E.LNAME, E.ADDRESS, E.BDATE FROM EMPLOYEE E, DEPARTEMEN D, PROJECT P WHERE P.PLOCATION = “Stafford” AND D.DNUMBER = P.DNUM AND E.SSN = D.MGRSSN
Aljabar Relasi π P.PNUMBER, D.DNUMBER, E.LNAME, E.ADDRESS, E.BDATE (δP.PLOCATION = “Stafford” ^ D.DNUMBER = P.DNUM ^ E.SSN=D.MGRSSN)
δP.PLOCATION= “Stafford” ^ Initial Tree π P.PNUMBER, D.DNUMBER, E.LNAME, E.ADDRESS, E.BDATE δP.PLOCATION= “Stafford” ^ D.DNUMBER = P.DNUM ^ E.SSN=D.MGRSSN X X E P D