Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

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

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

2nd Edition

0470624701, 978-0470624708

More Books

Students also viewed these Databases questions

Question

The paleolithic age human life, short write up ?

Answered: 1 week ago

Question

=+j on to staff their operations in the global marketplace.

Answered: 1 week ago