إعلانيمكن أن تكون علامتك التجارية هناعلامتك التجارية هنافي كل صفحة من Darslab · طلاب وأولياء أمور ومعلمونinfo@darslab.comاسأل عن الأسعارالأسعارinfo@darslab.com
☰ خطة العام · تكنولوجيا المعلومات والاتصالات (بالإنجليزية)

Relationships between tables

الأسبوع 6 · الوحدة ٢ «متطلبات ومراحل إنتاج المشروع» (٣) مرحلة إنشاء جداول قاعدة البيانات (٢): العلاقات بين الجداول: واحد إلى واحد، واحد إلى متعدد، متعدد إلى متعدد، المفتاح الأجنبي والمفتاح المركب · 3 دروس
Answers are for parents and teachers.
1
Name the relationship: (a) a pupil and his locker, (b) a class and its pupils, (c) pupils and the clubs they join.
2
In the teams and players tables of this week, list the players of team 1 and give their number.
3
A joining table has the pairs (1,1), (1,2), (2,1) and (1,2). Which row breaks the rules, and why?
4
A classmate says: “A many-to-many relation cannot be stored in a database.” Explain what is wrong with this sentence.
5
Which field holds the foreign key in a table of books where each book has one writer from a writers table?