Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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 teacher(s) who have the 3 rd highest salary
For every student, return the difference between the student gpa and the average gpa of the
students who were admitted 30 days before and 30 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 squl file that contains the questions and the select statements.
Assessment Rubrics
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 pdf files. Same as the previous
assignment, both SQL file and pdf should be uploaded in the Slate.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Autonomous Database In Enterprise Architecture

Authors: Bal Mukund Sharma, Krishnakumar KM, Rashmi Panda

1st Edition

1801072248, 978-1801072243

More Books

Students also viewed these Databases questions

Question

What are the purposes of collection messages? (Objective 5)

Answered: 1 week ago