Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 Course Code: Course Title: Database Management Class #: Semester: Summer 2 0 2 4 Page 1 of 2 ASSIGNMENT 2 ( SQL ) Use
Course Code: Course Title: Database Management
Class #: Semester: Summer
Page of
ASSIGNMENT SQL
Use the attached schema for this assignment
For every program, return the program name, campus name, tuition fee, and the average
tuition fee for the programs that are taught on the same campus as this program. For example,
if computer science program is taught on Davis campus, then I want you to return the program
name, campus name, tuition fee of the program, and the average tuition fee for all the
programs that are taught on the Davis campus
Return the name of the teachers who have the rd highest salary
For every student, return the difference between the student gpa and the average gpa of the
students who were admitted days before and days after the admission date of the
student
Teacher table is queried often using teacher name as the condition. Create an index that will
improve the performance of this query. You need to choose the most appropriate index
Write SQL statement that will create student table as index organized table
Instructions
Deliver one sql file that contains the questions and the select statements.
Assessment Rubrics
Task Possible Points Comments
SELECT
Statement
Total Points
Course Code: Course Title: Database Management
Class #: Semester: Summer
Page of
Please note that you need to create these tables and insert some rows to test your queries. Please share all code
plus snapshots of all results even statements you used for creating tables, as
we have to do this assignment in sql developer app and give the proper answers and with steps aswell
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started