Professional Documents
Culture Documents
The Design Process Continued
The Design Process Continued
continued
1:1 A car can only have
car driver one driver; a driver can
have only one car.
accepts places
Order
Foreign keys
Take another example:
takes module
student
MODULE(moduleid,moduleName, student1,student2,
student3,student4………..)
The solution to this problem is to create a third relation
that represents the relationship itself.
is involved is for
Enrolment is an
Enrolment intersection table.
STUDENT(studentid,studentName,pathway)
MODULE(moduleid,moduleName)
ENROLMENT(moduleid,studentid)
Order OrderDetail
OrderNo ItemNo
OrderDate Productid
Customerid ProductDetail
CustomerName ProductPrice
OrderQuantity
Peminjaman
• Member yang sudah Non Aktif
• Buku yang masih belum kembali
• Buku SIM (ID=798751) dipinjam oleh
siapa
• Select ID_Member, Nama_Member
• From Tabel_Member
• Where NonActive_Date is not null