Question: Print a report using SQL 1- Set echo on 2- Set up a spool file to receive your output for submission. I would suggest c:cs4210WA2spool.txt
Print a report using SQL
1- Set echo on
2- Set up a spool file to receive your output for submission. I would suggest c:\cs4210\WA2spool.txt
3- Use the COLUMN statement to set the headings and formats for each column in HR.EMPLOYEES
4- Set appropriate linesize and pagesize. Give your report the title 'CS4210 Seminar 2 Written Assignment'
5- Set a break on DEPARTMENT_ID and REPORT
6- Compute subtotals on DEPARTMENT_ID and a grand total on REPORT
7- Show just the fields DEPARTMENT_ID, EMPLOYEE_ID, FIRST_NAME, LAST_NAME, and SALARY from HR.EMPLOYEES for Department_ID < 50 . (Don't forget to order by DEPARTMENT_ID.)
8- Close the spool file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
