Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use the attached schema for this question. ? For every program, return the program name, campus name, tuition fee and the Pnierag, tuition fee for

Use the attached schema for this question. ? For every program, return the program name, campus name, tuition fee and the Pnierag, tuition fee for the programs that are taught in in the same campus as this proc dm. For example if computer science program is taught in 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 in Davis campus ? Return the name of the teacher(s) who have the 3"' highest salary k ? 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 ? Explain save point and rollback with example. [write this answer as a comment in .sql file]

dbo.Campus BC Columns Campus ID (PK, int, not null) Campus Name (varchar(24), null) Campus Address (varchar(24), null) Campus City (varchar(12), null) dbo.Course Columns Course_ID (PK, int, not null) Course Name (varchar(24), null) Course Semester (varchar(24), null) Program ID (FK, int, null) Teacher ID (FK, int, null) dbo.Teacher Columns Teacher ID (PK, int, not null) Teacher Name (varchar(24), null) Teacher Salary (numeric(3.2), null) dbo.Program Columns Program ID (PK, int, not null) Program Name (varchar(24), null) Program Description (varchar(2000), null) Tuition Fees (numeric(7,2), null) Program Coordinator ID (FK, int, null) Campus ID (FK, int, null) dbo.Student Columns Student ID (PK, int, not null) Student Name (varchar(24), null) Student Type (varchar(24), null) Student Admission Date (date, null) Student GPA (numeric(3,2), null) Program ID (FK, int, null)

Step by Step Solution

3.39 Rating (155 Votes )

There are 3 Steps involved in it

Step: 1

SELECT PPPROGRAMNAME CCCAMPUSNAME PPTUITIONFEES GRPAVGFEES FROM CAMPUS CC PROGRAM PP SELECT CCAMPUSI... 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

Applied Statistics For Public And Nonprofit Administration

Authors: Kenneth J. Meier, Jeffrey L. Brudney, John Bohte

9th Edition

1285737237, 978-1285974521, 1285974522, 978-1285737232

More Books

Students also viewed these Databases questions

Question

=+d) What assumptions have you made to answer part c?

Answered: 1 week ago

Question

Evaluate the integral, if it exists. Jo y(y + 1) dy

Answered: 1 week ago

Question

Describe the key steps in writing papers for college.

Answered: 1 week ago

Question

Identify four methods of studying.

Answered: 1 week ago