Question: In SQL, specifically running on Oracle, write the following query: Find the names and majors of students who are taking one of the World

In SQL, specifically running on Oracle, write the following query: " Find the names and majors of students who are taking one of the World History courses."

Note: Creation of temporary tables to solve the problem is not permitted. It must be completed in a single query statment. You may not create any tables nor can you alter the structure of the database. The only thing you can do is to create a single SQL query statement that uses the existing structure defined in the schema.

Please provide output.

Database Schema

In SQL, specifically running on Oracle, write the following query: " Find

Pertinent Table Information

I am only posting the Major, Student, and Enroll table since the other tables are not relevant for this specific problem.

MAJOR TABLE

the names and majors of students who are taking one of the

STUDENT TABLE

World History courses." Note: Creation of temporary tables to solve the problem

ENROLL TABLE

is not permitted. It must be completed in a single query statment.

dept(dname, numphds) course(cno, cname, dname) prof (pname, dname) section(cno, dname, sectno, pname) student(sid, sname, sex, age, gpa) major(sid, dname) enroll(sid, cno, dname, sectno, grade)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!