Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

--Using SQL/PL-- Assignment 4-9: Using an Explicit Cursor Create a block to retrieve and display pledge and payment information for a specific donor. For each

--Using SQL/PL--

Assignment 4-9: Using an Explicit Cursor Create a block to retrieve and display pledge and payment information for a specific donor. For each pledge payment from the donor, display the pledge ID, pledge amount, number of monthly payments, payment date, and payment amount. The list should be sorted by pledge ID and then by payment date. For the first payment made for each pledge, display first payment on that output row.

image text in transcribed

dd-donor dd pledge dd payment dd dana IDDONOR NOT NULL NUMBERI4) FIRSTNAME VARCHAR2(15 dd project dd status FIGURE 1-9 The DoGood Donor database ERD STATE VARCHAR2(10) NULL NUMBER(6) VARCHAR2(60 PROISTARTDATE IDPAY NOT NULL NUMBER(6) Name Null? IDPLEDGE NOT NULL NUMBER(S NULL NUMBERI2) VARCHAR215) NUMBER3 FIRSTPLEDGE CHAR() dd-donor dd pledge dd payment dd dana IDDONOR NOT NULL NUMBERI4) FIRSTNAME VARCHAR2(15 dd project dd status FIGURE 1-9 The DoGood Donor database ERD STATE VARCHAR2(10) NULL NUMBER(6) VARCHAR2(60 PROISTARTDATE IDPAY NOT NULL NUMBER(6) Name Null? IDPLEDGE NOT NULL NUMBER(S NULL NUMBERI2) VARCHAR215) NUMBER3 FIRSTPLEDGE CHAR()

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_2

Step: 3

blur-text-image_3

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

MFDBS 89 2nd Symposium On Mathematical Fundamentals Of Database Systems Visegrad Hungary June 26 30 1989 Proceedings

Authors: Janos Demetrovics ,Bernhard Thalheim

1989th Edition

3540512519, 978-3540512516

More Books

Students also viewed these Databases questions