Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PL / SQL : Use the classes table (Student Administration db). Code a loop that repeats 6 times for class_id = 1 to 6 and

PL / SQL :

Use the classes table (Student Administration db). Code a loop that repeats 6 times for class_id = 1 to 6 and displays the class id, period, and one of the statements below. Include appropriate labels. Use CASE (nested inside the loop).

If the period is:

first Set the alarm and get up early.

second OK to sleep an extra hour.

third Take your time in the morning.

fourth Who needs lunch anyway?

fifth Im too tired in the afternoon to do any work!

-- If the period is not one of the words above, the statement to display is Unknown period. What time of day is that?

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

Students also viewed these Databases questions