Transform the ERD in Figure Q3(a)(i) into a logical model. Assignment courseCode assignment Number H weight...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Transform the ERD in Figure Q3(a)(i) into a logical model. Assignment courseCode assignment Number H weight due Date has Course courseCode courseName isFor enrols Figure Q3(a)(i) Submission student Id courseCode assignment Number date Submitted score submits Student student Id program Question 3 (35 marks) (a) (i) Transform the ERD in Figure Q3(a)(i) into a logical model. Assignment courseCode assignment Number H weight due Date has Course courseCode Bo courseName isFor enrols Figure Q3(a)(i) Submission student Id courseCode assignment Number date Submitted score submits Student student Id program (ii) Refer to the description of the columns and relationships and then code the appropriate SQL statements to create the tables, derived from the ERD in Figure Q3(a)(i). You must use the same table names and the same column names as given in Figure Q3(a)(i) or your statements will be marked as incorrect. List your SQL statements in the order that they should be executed. Description for columns: studentId is a whole number starting from 1000000 with step increment 1 and is auto-generated. program is at most 50 characters and is one of these values: Accountancy, Finance, Information and Communication Technology, Business Administration. courseCode is exactly 5 characters starting with two letters (A-Z) followed by 3 digits (0-9). courseName is at most 50 characters long. assignmentNumber is a running number for each course and can be generated with a trigger. weight is an integer that is greater than 0, dueDate is a date at least one week after today's date. dateSubmitted is a date with default value today's date, score is a decimal number between 0 and 100. All columns are required except for dateSubmitted and score Constraints Refer to Figure Q3(a)(i) for the minimum and maximum cardinalities. enrols relationship - delete cascade and update disallowed for actions on Student and delete/update disallowed for actions on Course. has relationship - delete and update cascade. submits relationship - delete cascade and update disallowed. isFor relationship - delete and update disallowed. Transform the ERD in Figure Q3(a)(i) into a logical model. Assignment courseCode assignment Number H weight due Date has Course courseCode courseName isFor enrols Figure Q3(a)(i) Submission student Id courseCode assignment Number date Submitted score submits Student student Id program Question 3 (35 marks) (a) (i) Transform the ERD in Figure Q3(a)(i) into a logical model. Assignment courseCode assignment Number H weight due Date has Course courseCode Bo courseName isFor enrols Figure Q3(a)(i) Submission student Id courseCode assignment Number date Submitted score submits Student student Id program (ii) Refer to the description of the columns and relationships and then code the appropriate SQL statements to create the tables, derived from the ERD in Figure Q3(a)(i). You must use the same table names and the same column names as given in Figure Q3(a)(i) or your statements will be marked as incorrect. List your SQL statements in the order that they should be executed. Description for columns: studentId is a whole number starting from 1000000 with step increment 1 and is auto-generated. program is at most 50 characters and is one of these values: Accountancy, Finance, Information and Communication Technology, Business Administration. courseCode is exactly 5 characters starting with two letters (A-Z) followed by 3 digits (0-9). courseName is at most 50 characters long. assignmentNumber is a running number for each course and can be generated with a trigger. weight is an integer that is greater than 0, dueDate is a date at least one week after today's date. dateSubmitted is a date with default value today's date, score is a decimal number between 0 and 100. All columns are required except for dateSubmitted and score Constraints Refer to Figure Q3(a)(i) for the minimum and maximum cardinalities. enrols relationship - delete cascade and update disallowed for actions on Student and delete/update disallowed for actions on Course. has relationship - delete and update cascade. submits relationship - delete cascade and update disallowed. isFor relationship - delete and update disallowed.
Expert Answer:
Answer rating: 100% (QA)
Solutions Step 1 Based on the information provided about the ERD and the table descriptions here are the SQL statements to create the tables in the order they should be executed Student table CREATE T... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these mathematics questions
-
List three specific parts of the Case Guide, Objectives and Strategy Section (See below) that you had the most difficulty understanding. Describe your current understanding of these parts. Provide...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
To demonstrate the ability to propose, implement, and query the database. Problem: MovinOn Inc. is a moving company that provides moving and storage services in California, Nevada, and Arizona....
-
Let S be the portion of the cylinder y = e x in the first octant that projects parallel to the x-axis onto the rectangle R yz : 1 y 2, 0 z 1 in the yz-plane. Let n be the unit vector normal to S...
-
Each of the three rods has a mass m. Determine the moment of inertia for the assembly about an axis which is perpendicular to the page and passes through the center point O.
-
Augustin Louis Cauchy (17891857) determined an empirical equation for n(λ) for substances that are transparent in the visible. His expression corresponded to the power series relation...
-
Identify the five planning tools provided in Integrated Accounting 6e.
-
Super Savers Department Store reported a quick ratio of 0.6. A review of its balance sheet revealed the following information: Quick assets ..... $120,000 Current assets .... 750,000 Noncurrent...
-
ATE-polarized electromagnetic wave impinges from medium 1 (characterized by 1 = Mo and e = 3eo ) to medium 2 (characterized by M2 = 40 and e2 = Eo) as shown in the figure below. Answer the questions...
-
The proposed rates were not in the range the CEO expected given the pricing analysis. The CEO has asked the pricing actuary to verify the total projected loss cost excluding potential large storm...
-
In 2020, the total output was 19.45 million baskets of food, with a price of $1,700 per basket. In 2021, the total output was 20.35 million baskets of food, with a price of $1,750 per basket. Use...
-
Outline any 4 FOUR Ethical problems that are likely to confront an MNC 2. Suggest what guidelines an MNE/MNC may take to ensure effective implementation of Ethical standards in its overseas...
-
Quantitative Problem: Bellinger Industries is considering two projects for inclusion in its capital budget, and you have been asked to do the analysis. Both projects' after-tax cash flows are shown...
-
You have just finished reading an article in a personnel journal about compensation plans. The turnover rate in your company is too high, considering the cost of losing experienced employees. The CEO...
-
In response to intense foreign competition, Florex Company has taken steps to improve the quality of its products. A summary of its quality costs (in thousands) over the past two years is given...
-
Republic Services (RS) Submit high bid Submit low bid RS: $1.7 billion RS: $2.1 billion WM: $2.5 billion WM: $1.2 billion Submit low bid RS: $0.3 billion RS: $0.4 billion WM: $3.7 billion WM: $1.7...
-
Why would a manager prefer a perpetual inventory system over a periodic inventory system? Use specific examples to support your position. Search the internet for recommendations on which inventory...
-
Write a program to move a signed number from smaller register to bigger register. Hint: movzx ax, bl Topic: Data Related Operators and Directives in assembly language
-
David and Darlene Jasper have one child, Sam, who is 6 years old. The Jaspers reside at 4639 Honeysuckle Lane, Los Angeles, CA 90248. David's Social Security number is 577-11-3311, Darlene's is...
-
Leslie and Leon Lazo are married and file a joint return for 2012. Leslie's Social Security number is 466-47-3311 and Leon's is 467-74-4451. They live at 143 Snapdragon Drive, Reno, NV 82102. For...
-
Quince Corporation has taxable income of $450,000 for its 2012 calendar tax year. Calculate the corporation's income tax liability for 2012 before tax credits. $_________
-
What sort of cash organisation is generally in place for highly decentralised groups?
-
Is the risk of bankruptcy of a subsidiary an obstacle to cash pooling for a group which balances its accounts daily?
-
What is the main argument against full cash pooling for a group?
Study smarter with the SolutionInn App