Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Complete the following Oracle SQL Queries: 1. List the student ID and name of the student that has enrolled the most times. Arrange the list

image text in transcribed

Complete the following Oracle SQL Queries:

1. List the student ID and name of the student that has enrolled the most times. Arrange the list in alphabetical order.

2. List the names and phone numbers of instructors who teach students that live in same zipcode as their instructor.

3. Provide a list of names and cities of students and instructors that live in zipcode 10025. Identify each person's role as either "Student" or "Instructor". Sort the list by role, last name and first name.

4. Create a query that lists location, number of sections taught in that location and number of students enrolled in courses at that location. Sort by location.

5. Create a query that shows all of the individual grades for student 112 in section 95 and also the average of those grades. The individual grades should come first with the average at the bottom. List the grade type code and numeric grade. The average row should have a caption of, "Average for student 112".

PENDIX D STUDENT DATABASE SCHEMA PENDIX D STUDENT DATABASE SCHEMA

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

Objects And Databases International Symposium Sophia Antipolis France June 13 2000 Revised Papers Lncs 1944

Authors: Klaus R. Dittrich ,Giovanna Guerrini ,Isabella Merlo ,Marta Oliva ,M. Elena Rodriguez

2001st Edition

3540416641, 978-3540416647

More Books

Students also viewed these Databases questions

Question

Know the three main dimensions of the service environment.

Answered: 1 week ago