Assignment#1 MSIT 630 Database SystemsTotal: 60 points1. Explain the concept of physical data independence and its importance in database

Assignment#1
MSIT 630 Database Systems

Total: 60 points

1. Explain the concept of physical data independence and its importance in database systems (4

points)

2. Explain what problems are caused by the design of the following table. (4 points)

The Customer table

3. List four significant differences between a file-processing system and a DBMS. (4 points)

4. Describe the differences in meaning between the terms relation and relation schema. (4

points)

5. List two reasons why null values might be introduced into the database. (4 points)

6. Write the following queries in SQL, using the university schema

( and

execute your SQL statement on the sample database with small relations

(

dir/smallRelations/smallRelationsInsertFile.sql) and show me both the SQL statements and the

query results. (20 points, 4 points each)

a. Find the titles of courses in the Comp. Sci department that have 4 credits.

b. Find the name(s) of the instructor(s) who DON’T earn the lowest salary in the Physics

department.

c. Find the enrollment of each section (number of students enrolled) that was offered in Fall

2017.

d. Find the minimum enrollment, across all sections offered in Fall 2017.

e. Find the course ID and section ID of the sections that had the minimum enrollment in Fall

2017.

7. Write the following queries in SQL, using the university schema

( and

execute your SQL statement on the sample database with small relations

(

dir/DDL.sql
dir/smallRelations/smallRelationsInsertFile.sql
dir/smallRelations/smallRelationsInsertFile.sql
dir/DDL.sql
dir/smallRelations/smallRelationsInsertFile.sql

dir/smallRelations/smallRelationsInsertFile.sql) and show me both the SQL statements and the

query results. (20 points, 4 points each)

a. Find the names of all students who have taken at least two courses offered by Comp. Sci.

department; make sure there are no duplicate names in the result. Note that students in other

departments can take courses from Comp. Sci. as well.

b. Find the IDs and names of all students who have not taken any course offering in 2017.

c. For each department, find the name and salary of the instructor who earns the minimum salary

in that department. You may assume that every department has at least one instructor.

d. Find the highest, across all departments, of the per-department minimum salary computed by

the preceding query (part 7.c).

e. Find the course titles of all prerequisite courses of “CS-319”.

dir/smallRelations/smallRelationsInsertFile.sql

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

 The Rest of the resources and instructions are provided in the screenshots below. You will need the Project overview to complete this

 The Rest of the resources and instructions are provided in the screenshots below. You will need the Project overview to complete this assignment. Project Overview This project includes the following tasks: Gather product information Analyze and differentiate product vulnerabilities Recommendation based on empirical data collection Objective: Product Selection Recommendation Organizations

 How Does Surescripts Integration Improve Prescription Management? The Future of E-Prescriptions: Why Surescripts Integration is a Must-HaveIn

 How Does Surescripts Integration Improve Prescription Management?  The Future of E-Prescriptions: Why Surescripts Integration is a Must-Have In today’s fast-evolving healthcare landscape, seamless data exchange is essential for improving patient care and optimizing workflows. Surescripts integration solutions provide a secure and efficient way to connect pharmacies, healthcare providers, and electronic

Project 1 – Explore Microsoft Azure Final Report TemplateExecutive Summary (

Project 1 – Explore Microsoft Azure Final Report Template Executive Summary (<1 page) Explore services and offerings of Microsoft Azure cloud (2 pages) Provision Provision and Prepare Web Server Virtual Machine (2–3 pages) Create Azure VM Scale Set with Load Balancer lab (2-3 pages ) Deploy Azure PaaS Web Application

[url= Integration Services[/url] are transforming businesses by streamlining operations, enhancing customer experiences, and enabling data-driven

[url= Integration Services[/url] are transforming businesses by streamlining operations, enhancing customer experiences, and enabling data-driven decisions. By automating repetitive tasks, AI frees up resources for more strategic activities, improving productivity. AI tools like chatbots and recommendation engines offer personalized solutions, fostering customer loyalty. AI also helps businesses analyze large datasets