nt database. The primary keys are highlighted in bold. Student (studNo, studName, address, mobileNo) Registration (studNo, courseNo, regDate, semester, session) Course (courseNo, courseNam

MIS
9th Edition
ISBN:9781337681919
Author:BIDGOLI
Publisher:BIDGOLI
Chapter3: Database Systems, Data Warehouses, And Data Marts
Section: Chapter Questions
Problem 6P
icon
Related questions
Question

Below is part of a Student database. The primary keys are highlighted in bold.

Student (studNo, studName, address, mobileNo)

Registration (studNocourseNoregDate, semester, session)

Course (courseNo, courseName, creditHour, level)

Project (projNo, projName, courseNo)

 

QUESTION :  

1. Write a PL/SQL PROCEDURE that will list the project names given the course ID.

 

2.  Call the procedure from an anonymous block. Allow the user to enter the course ID (courseno)

Expected output:
Enter the course number: 1100
The project(s) for PROGRAMMING course are as follows:
1. Tic Tac Toe
2. Word Generator
PL/SQL procedure successfully completed.
or
Enter the course number: 1103
The project(s) for DATABASE course are as follows:
1. eZakat
PL/SQL procedure successfully completed.
or
Enter the course number: 1707
The project(s) for MATHEMATICS course are as follows:
1. Stochastic BioNet
2. Ensemble Kalman Filter
PL/SQL procedure successfully completed.
Transcribed Image Text:Expected output: Enter the course number: 1100 The project(s) for PROGRAMMING course are as follows: 1. Tic Tac Toe 2. Word Generator PL/SQL procedure successfully completed. or Enter the course number: 1103 The project(s) for DATABASE course are as follows: 1. eZakat PL/SQL procedure successfully completed. or Enter the course number: 1707 The project(s) for MATHEMATICS course are as follows: 1. Stochastic BioNet 2. Ensemble Kalman Filter PL/SQL procedure successfully completed.
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
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
MIS
MIS
Computer Science
ISBN:
9781337681919
Author:
BIDGOLI
Publisher:
Cengage
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr