Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Following the example in Lecture 2, Print a report of salaries for HR.EMPLOYEES.. Set echo on Set up a spool file to receive your output

Following the example in Lecture 2, Print a report of salaries for HR.EMPLOYEES..

Set echo on

Set up a spool file to receive your output for submission. I would suggest c:\CS4210\wa2spool.txt

Set appropriate column headings and formats

Set appropriate linesize and pagesize. Give your report the title 'CS442a Module 2 Written Assignment'

Set a break on DEPARTMENT_ID and REPORT

Compute subtotals on DEPARTMENT_ID and a grand total on REPORT

Show just the fields DEPARTMENT_ID, EMPLOYEE_ID, FIRST_NAME, LAST_NAME, and SALARY for Department_ID < 50 from HR.EMPLOYEES . (Don't forget to order by DEPARTMENT_ID.)

Close the spool file

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

Modern Database Management

Authors: Fred R. McFadden, Jeffrey Slater, Mary B. Prescott

5th Edition

0805360549, 978-0805360547

More Books

Students also viewed these Databases questions

Question

Explain what is meant by the terms unitarism and pluralism.

Answered: 1 week ago