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

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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