Question
Consider the following: D1 = {Student1, Student2, Student3, Student4} D2 = {20, 18, 34, 27} D3 = {undergraduate, postgraduate} S = {(x, y, z) |
Consider the following: D1 = {Student1, Student2, Student3, Student4} D2 = {20, 18, 34, 27} D3 = {undergraduate, postgraduate} S = {(x, y, z) | x D1, y D2, z D3, and y 30} (a) Create a Relation Schema for S given above. Write out both the full and the abbreviated schemas as shown on Slide of the lecture notes in Module 3. (b) Using a table as a physical representation, create a relation for S as defined above. The table should include ALL the possible tuples for S and has column headings that correspond to the attributes of the relation. (c) What is the cardinality of S, the table you have constructed in Question 1(b)? (d) What is the degree of S?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started