Write SQL Code list ALL of the Course names (CRS_DESCRIPTION, even with no sections offered at all) and the number of sections offered (name it "Num_of_Sections"), based on the COURSE table and CLASS table.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter4: More Object Concepts
Section: Chapter Questions
Problem 5RQ
icon
Related questions
Question

Write SQL Code list ALL of the Course names (CRS_DESCRIPTION, even with no sections offered at all) and the number of sections offered (name it "Num_of_Sections"), based on the COURSE table and CLASS table.

Table: CLASS
CLASS_CODE CRS_CODE CLASS_SECTION
10012
10013
10014
10015
10016
Table: COURSE
ACCT-211
ACCT-211
ACCT-211
ACCT-212
ACCT-212
CRS_CODE
ACCT-211
ACCT-212
CIS-220
CIS-420
MATH-243
Table: EMPLOYEE
1
2
3
1
2
CLASS_TIME
MWF 8:00-8:50
a.m.
Henry
Rosemary
Ronald
Preston
MWF 9:00-9:50
a.m.
TTh 2:30-3:45 p.m.
MWF 10:00-10:50
a.m.
Th 6:00-8:40 p.m.
CRS_DESCRIPTION
Accounting I
Accounting II
Intro. to Microcomputing
Database Design and Implementation
Mathematics for Managers
ROOM_CODE PROF_NUM
BUS311
BUS200
BUS252
BUS311
BUS252
***
♡ ♡ +3
3
105
4
105
342
CRS_CREDIT
3
3
301
301
EMP_NUM EMP_LNAME EMP_FNAME EMP_INITIAL EMP_JOBCODE EMP_HIREDATE EMP_DC
100
Worley
James
F
CUST
2/23/1978 6/12/19
101
Ramso
B
CUST
11/15/1994 11/2/19
102
Edwards
TECH
7/23/1990
7/3/195
103
Donelly
PROF
7/1/1987 10/2/19
104
Yukon
PROF
5/1/1992 2/23/19
Transcribed Image Text:Table: CLASS CLASS_CODE CRS_CODE CLASS_SECTION 10012 10013 10014 10015 10016 Table: COURSE ACCT-211 ACCT-211 ACCT-211 ACCT-212 ACCT-212 CRS_CODE ACCT-211 ACCT-212 CIS-220 CIS-420 MATH-243 Table: EMPLOYEE 1 2 3 1 2 CLASS_TIME MWF 8:00-8:50 a.m. Henry Rosemary Ronald Preston MWF 9:00-9:50 a.m. TTh 2:30-3:45 p.m. MWF 10:00-10:50 a.m. Th 6:00-8:40 p.m. CRS_DESCRIPTION Accounting I Accounting II Intro. to Microcomputing Database Design and Implementation Mathematics for Managers ROOM_CODE PROF_NUM BUS311 BUS200 BUS252 BUS311 BUS252 *** ♡ ♡ +3 3 105 4 105 342 CRS_CREDIT 3 3 301 301 EMP_NUM EMP_LNAME EMP_FNAME EMP_INITIAL EMP_JOBCODE EMP_HIREDATE EMP_DC 100 Worley James F CUST 2/23/1978 6/12/19 101 Ramso B CUST 11/15/1994 11/2/19 102 Edwards TECH 7/23/1990 7/3/195 103 Donelly PROF 7/1/1987 10/2/19 104 Yukon PROF 5/1/1992 2/23/19
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Multiple table
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,