Create all the tables with identified constraints on oracle

Assignment Help Database Management System
Reference no: EM131822768

Database and Information Retrieval Assignment

Your client, University of Vermont, asks you to create a small database to keep the information of students, coursers, sections and the grades for each section of the students.

Refer the data tables (attached) and write answers or perform actions for following questions.

1. Identify primary keys, foreign keys, NULL and other constraints exist with the tables. Document the identified constraints. Use table structure 1 to document the constraints

Table 1. Identified Primary Key, Foreign key, Not null Constraints

Table Name

Primary Key

Foreign Key (reference table A)

Not Null column

 

 

 

 

 

 

 

 

 

 

 

 

2. Create all the tables with identified constraints on Oracle. (e.g. primary keys, foreign keys, NULL and other).

NOTE: When you create tables you should decide the appropriate types for the attributes.

3. Alter the student table and add new field Date of Birth for student table. Type for date of birth should be date.

4. Insert all the given values. You are feel free to insert new values to the tables. (Note - Select suitable values for Date of birth)

5. Write following queries on the tables.

a. List the course numbers, course names a student who is doing computer science major (e.g. department is CS) could enrol for.

b. Select and list the courses completed by Brown in 2008 Fall.

(Hint: if student is enrolled and not completed grade of the Grade_Report (TABLE) is marked as 'NC')

c. What are the prerequisites for course CS3380 (Database) ? List all the prerequisites if any.

d. For every course how many students have enrolled in the 2008 - Fall semester.

List the course number and the number of students. (Hint: if student is enrolled and not completed grade is marked as 'NC')

e. Display all the courses, their grades and credit hours for student Brown.

f. List the course number and the name offered during the 2008- Fall semester.

g. Find the students with age between 18 and 21. Print their student number, name and the age with the major.

h. Find all the instructors for Smith. List the course and the instructor name.

i. Create your own query. It must include a nested query. Submit the following:

i. question your query is answering

ii. the SQL query

iii. the mark for this question will depend on the complexity of the query.

iv. higher marks will be given for queries that are more complex and/or innovative.

v. if you do not provide a description of what question the query is answering, you will get zero for this query.

Attachment:- Assignment File.rar

Reference no: EM131822768

Questions Cloud

What is the spring constant for spring : a) What is the spring constant for this spring? b) Another mass of 52.0 g is added to the spring. What is the reading on the ruler now?
Explaining to an accountant any issues : explaining to an accountant any issues with how this term is being applied in this context
Developing a two-line element set : Determine the orbit of the following spacecraft by developing a two-line element set.
Identify a natural disaster and the many ways : Use the space below to identify a natural disaster and the many ways it could be studied to help us better understand the causes and effects of the disaster.
Create all the tables with identified constraints on oracle : SIT103 - Database and Information Retrieval Assignment. Create all the tables with identified constraints on Oracle. (e.g. primary keys, foreign keys, NULL)
Discuss pass journal entries in books of amjad and sohail : Pass journal entries in books of Amjad and Sohail, rupee was received as first and last dividend from his estate
Calculate the potential energy of the initial state : The potential energy is zero at infinity. Calculate the potential energy of the initial state.
Is drug addiction treated as a crime or as a medical issue : How has the issue of drug addiction and the ‘war on drugs' changed over the past 20 years?
Purpose of the management discussion and analysis section : What is the purpose of the management discussion and analysis section (MD&A)? Why is it important for financial statements to receive an unqualified auditor's?

Reviews

len1822768

1/19/2018 6:01:09 AM

Australian student, as per the file. Submission - Submit a copy of your queries, electronically on the course portal, on or before the due date. You must submit the syntax of the queries themselves, and a screen shot of the outputs. Submit only 1 PDF file including queries and their screen shots.

Write a Review

Database Management System Questions & Answers

  What amounts will be require for ordering supplies

Design a spreadsheet that will enable you to request the required funds from your team's finance officer, order supplies from the home office, and ensure dissemination of appropriate quantities to each village.

  Design relational schema without er-schema

CIS 350: Database Management Systems - How database design process differs from a system design process and what are the lessons learned when you created your first ER-diagram?

  Create a vs 2008 asp .net web site with a masterpage

The MasterPage will display a company name selected by you. Add server controls to the MasterPage that allow the user to navigate between the Web Forms in the Web site.

  Identifies all the stakeholders relevant to the system

Analyse the Case Study documents and produce a Vision document for a software system to meet the needs identified in the Case Study. Make sure your Vision document.

  Design a collection of tables that satisfies 2nf but not 3nf

Using the FD list in problem 1, identify the FDs that violate 2NF. Using knowledge of the FDs that violate 2NF, design a collection of tables that satisfies 2NF but not 3NF.

  Create a database design specification

Create a database design specification (Enhanced Entity Relationship Diagram (EERD) and Relational Data Model (RDM)) from the given business description. The RDM must be in 301 Normal Form.

  Build the physical model

She's come to you for questions regarding connectivity to the Oracle database, which method would you advise her to use to connect to the Oracle database?

  Display the invoice number and the invoice date

Display the invoice number, the invoice date, the customer id, and the customer name for each order in the database

  Develop model that predict customers probability

Develop model(s) that predict customers' probability of default and outline the methodology used. Perform model validation

  Write a select statement that returns an xml document

Write a SELECT statement that returns an XML document that contains all of the invoices in the Invoices table that have more than one line item.

  Modify the model table to add the attribute

Use the Ch08_AviaCo database shown in Figure to work Problems.

  Draw an entity-relationship diagram for this database

Draw an Entity-Relationship diagram for this database using UML notation. Be sure to include all the entities mentioned above, together with attributes (including primary key attributes), relationships and multiplicity constraints

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd