Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Essentials of Database Management

Authors: Jeffrey A. Hoffer, Heikki Topi, Ramesh Venkataraman

1st edition

133405680, 9780133547702 , 978-0133405682

More Books

Students also viewed these Databases questions

Question

1.who the father of Ayurveda? 2. Who the father of taxonomy?

Answered: 1 week ago

Question

Commen Name with scientific name Tiger - Wolf- Lion- Cat- Dog-

Answered: 1 week ago

Question

=+ What topics are contained in the contracts?

Answered: 1 week ago

Question

=+Are they specific or general in nature?

Answered: 1 week ago

Question

=+ What is the nature of the contracts or agreements with unions?

Answered: 1 week ago