Question: Print a simple report using SQL SPOOL your output to c:CS4210project2spool.txt Use COLUMN to set up appropriate column headings and formats for DDI.LEDGER_VIEW Field Heading

Print a simple report using SQL

SPOOL your output to c:\CS4210\project2spool.txt

Use COLUMN to set up appropriate column headings and formats for DDI.LEDGER_VIEW

Field Heading Format REGID RegID 99999999 REGDATE Date DATE NAME Name A20 ROOMNUM Room 99999999 ROOMRATE Rate 999,999.00

Set appropriate values for PAGESIZE (255), LINESIZE (80) and TTITLE

Add BREAK and COMPUTE for subtotal and total of ROOMRATE Break on ROOMNUM for the subtotal and REPORT for total

Run a SQL command to print records from DDI.LEDGER_VIEW where REGDATE < '08-JUN-15' and sort by ROOMNUM and REGDATE

Close spool

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!