Question: NEED IN ORACLE SQL Students are required to take 4 courses, and at least two of these courses must be from the department of their

 NEED IN ORACLE SQL Students are required to take 4 courses,

NEED IN ORACLE SQL

Students are required to take 4 courses, and at least two of these courses must be from the department of their major.

Write a query to list students First Name, Last Name, and Number of Courses they are taking in their major department.

The output should be sorted first in increasing order of the number of courses, then by student last name.

department course Column Name Data Type Allow Nulls Data Type Column Name Allow Nulls g id name varchar(30) varchar(50) name deptld faculty Column Name Data Type Allow Nulls id lastname varchar(50) deptld studentCourse Column Name Data Type Allow Nulls studentld courseld progress startDate student Column Name Data Type Allow Nulls date varchar(30) varchar(50) lastname street streetDetail varchar(30) varchar(30) varchar(30) char(5) facultyCourse Column Name Data Type Allow Nulls postalCode majorld facultyld courseld

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!