Archive for the 'Tugas Sistem Basis Data' Category

Jawaban SBD Pertemuan 8

Tuesday, March 24th, 2009

5.5) Explain how the GROUP BY clause works. What is the difference between the WHERE and HAVING clauses? 5.6) What is the difference between a subquery and a join? Under what circumstances would you not be able to use a subquery? Jawab : 5.5 Group by : untuk mengelompokan field dan menyertakan fungsi agregasi; mengurutkan […]

Jawaban SBD Pertemuan 7

Tuesday, March 24th, 2009

5.1) What are the two major components of SQL and what function do they serve? 5.2) What are the advantages and disadvantages of SQL? 5.3) Explain the function of each of the clauses in the SELECT statement. What restrictions are imposed on these clauses? 5.4) What restrictions apply to the use of the aggregate functions […]

Jawaban SBD pertemuan 6

Sunday, March 22nd, 2009

Tugas Pertemuan 6 4.5 Bandingkan perbedaan antara tuple relational calculus dengan domain relational calculus. Lebih khususnya, diskusikan perbedaan antara tuple and domain variables. Jawab : Terdapat 2 versi dari relasional kalkulus – Tuple Relational Calculus (TRC) – Domain Relational Calculus (DRC) Kedua – duanya merupakan kumpulan sederhana dari first-order logic(predicate calculus). Perbedaan keduanya terletak pada […]

Jawaban tugas SBD pertemuan 5

Sunday, March 22nd, 2009

Tugas Pertemuan 5 4.3 5 Operasi Dasar Realtional Aljabar : – Selection : spredicate (R) operasi yang bekerja pada relasi tunggal R dan menggambarkan suatu relasi yang berisi hanya tuple R dan memenuhi kondisi yang ditetapkan(predicate). – Projection Pcol1, . . . , coln(R) Operasi yang bekerja pada relasi tunggal R dan menggambarkan suatu relasi […]