Step 2: Design ER diagram College_name idCollege_name INT College_address VARCHAR(4.. College_phone VARCHAR(45) Indexes Student Student number...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Step 2: Design ER diagram College_name idCollege_name INT College_address VARCHAR(4.. College_phone VARCHAR(45) Indexes Student Student number INT Student First Last VARCHAR(... Student phone VARCHAR(45) Indexes Campus1 Campus_name INT -Campus Jocation VARCHAR(... Campus_phone VARCHAR(45) College_name_idCollege_na.. Indexes Student has_Course Student Student number INT Course Course code INT Course Department Department_name INT Course Department Campus1_Campus_name INT Indexes Step 3: Write DDL statements Department Department name INT Department Jocatoin VARCHAR( Department phone VARCHAR(45) Cam pus 1 Campus_name INT Campus1 Campus_namel INT Indexes Course Course_code INT Course duration VARCHAR(45) Course name VARCHAR(45) Department Department name... Department Campus1_Campus. Department Department name1.... Department Campus1_Campus_ Indexes C 3 of 3 Step 3: Write DDL statements Referring to the model created in Step 2, write the SQL DDL statements to perform the following: ALGONQUIN Centre for Continuing COLLEGE & O B: Create database 'Assignment1' Create all tables: - o Include primary and foreign keys O Choose the datatype and length for each column as you see fit O All primary keys, foreign keys must be specified in the CREATE TABLE statement O All DDL statements must be written manually. Do not reverse-engineer the SQL from MySQL Workbench. Apply formatting to the SQL statements. Refer to this URL as a reference on formatting: https://learnsql.com/blog/24-rules-sql-code-formatting-standard/ Make sure all DDL statements execute without error 39 + 80% (7 (6 1 H W View a 121 2 Step 2: Design ER diagram College_name idCollege_name INT College_address VARCHAR(4.. College_phone VARCHAR(45) Indexes Student Student number INT Student First Last VARCHAR(... Student phone VARCHAR(45) Indexes Campus1 Campus_name INT -Campus Jocation VARCHAR(... Campus_phone VARCHAR(45) College_name_idCollege_na.. Indexes Student has_Course Student Student number INT Course Course code INT Course Department Department_name INT Course Department Campus1_Campus_name INT Indexes Step 3: Write DDL statements Department Department name INT Department Jocatoin VARCHAR( Department phone VARCHAR(45) Cam pus 1 Campus_name INT Campus1 Campus_namel INT Indexes Course Course_code INT Course duration VARCHAR(45) Course name VARCHAR(45) Department Department name... Department Campus1_Campus. Department Department name1.... Department Campus1_Campus_ Indexes C 3 of 3 Step 3: Write DDL statements Referring to the model created in Step 2, write the SQL DDL statements to perform the following: ALGONQUIN Centre for Continuing COLLEGE & O B: Create database 'Assignment1' Create all tables: - o Include primary and foreign keys O Choose the datatype and length for each column as you see fit O All primary keys, foreign keys must be specified in the CREATE TABLE statement O All DDL statements must be written manually. Do not reverse-engineer the SQL from MySQL Workbench. Apply formatting to the SQL statements. Refer to this URL as a reference on formatting: https://learnsql.com/blog/24-rules-sql-code-formatting-standard/ Make sure all DDL statements execute without error 39 + 80% (7 (6 1 H W View a 121 2
Expert Answer:
Related Book For
Systems Analysis And Design
ISBN: 978-1119496489
7th Edition
Authors: Alan Dennis, Barbara Wixom, Roberta M. Roth
Posted Date:
Students also viewed these databases questions
-
answer the question clearly You are building a flight-control system for which a convincing safety case must be made. Would you assign the tasks of safety requirements engineering, test case...
-
Let r and s be solutions to the quadratic equation x 2 b x + c = 0. For n N, define d0 = 0 d1 = r s dn = b dn1 c dn2 (n 2) Prove that dn = r n s n for all n N. [4 marks] (b) Recall that a commutative...
-
QUESTION-3 (20 PTS): 3. What is a bond? Explain the relationship between bond interest rates and bond yields. Also briefly list the important parameters (variables) in a bond issuance/transaction?
-
Solve. For following Exercises, the solutions have been started for you. For circumference applications find the exact circumference and then use 3.14 for to approximate the circumference 1. An...
-
BC's quality assurance programme chooses a random sample of 50 units and finds that 12 are defective. What is the number of defectives they can be 95% confident that the population mean is below?...
-
Dr. Wayside works at a local clinic as a general practitioner. Because she has significant unsecured debt, Dr. Wayside decided to petition the United States Bankruptcy Court for relief under Chapter...
-
Your family business produces a secret recipe salsa and distributes it through both smaller specialty stores and chain supermarkets. The chains have been demanding sizable discounts but you do not...
-
Your 3 year old nephew got into the workbench and mixed iron filings into a container with sugar and marbles. Explain the steps you would take to separate and recover each substance (use point form...
-
A taxpayer is a US citizen who lived and worked France during the entire tax year. All of their income was earned outside of the US and consisted of wages, capital gains. dividends, and interest. Is...
-
For a set of experimental data of (y, X), i=1,...n, the theoretical analysis suggests that the data should follow a basic form of y = Ax* exp B X (1) Assuming k is a pre-determined constant, how to...
-
Consider differences among PMOs, portfolios, and programs and how an organization manages the project identification and selection process. Share how a company or a familiar company organizes its...
-
Please conduct online research to explore the differences between the Tesla Model Y versions available in the U.S. market and the Chinese market. In your discussion, highlight the key differences and...
-
- Advanced accounting course tuition fees 600 - Music history course tuition fees (U of A) - Payments of premiums on life insurance required by his Bank (to cover his personal mortgage) 2,400 $1,200...
-
How do laws originate? Explain the differences between various sources of law and describe the branches of government and their roles in creating, administering, and enforcing the law. In addition,...
-
The NiCad cell, which generates a voltage of 1.40 V, uses the reaction Ni(OH) 4 (s) + Cd(s) Ni(OH) 2 (s) + Cd(OH) 2 (s) A particular cell contains 4.50 g of Cd and an excess of Ni(OH) 4 Assuming...
-
Nitrogen monoxide reacts with hydrogen as follows: 2NO(g)+ H2(g) N2O(g) + H2O(g) The rate law is [H2]/ t = k[NO]2[H2], where k is 1.10 107 L2/(mol2s) at 826oC. A vessel contains NO and H2 at...
-
Create metadata entries for the following data model components and, if possible, input the entries into a computer-aided software engineering (CASE) tool of your choosing: Entityproduct ...
-
What is the purpose of the inputs and outputs section of the use case?
-
What is a process model? What is a data flow diagram? Are the two related? If so, how?
-
Consider absence from work as an example of organizational behaviour. What are some of the factors that might predict who is likely to be absent from work? How might you explain absence from work?...
-
Do you think that organizations should base their hiring decisions on applicants personalities? What are the advantages and disadvantages of doing this? If an organization were to do this, what...
-
Use the contingency approach to describe a task or an organizational department where a more classical management style might be effective. Then do the same for a task or department where the human...
Study smarter with the SolutionInn App