Question: Questions [ 1 5 marks ] 1 . [ 3 marks ] The Brewbean s application contains a page displaying order summary information, including IDBASKET,
Questions marks
marks The Brewbeans application contains a page displaying order summary information, including IDBASKET, SUBTOTAL, SHIPPING, TAX and TOTAL columns from BBBASKET table. Create a PLSQL block with scalar variables to retrieve this data and then display it An initialized variable should provide the IDBASKET value. Test the block using any existing basket ID
marks An organization has committed to matching pledge amounts based on the donor type and pledge amount. Donor types include I for Individual B for Business organization and G for Grant funds The matching percentage is shown below:
Donor type Pledge Amount Matching
I $ or more
I $$
I $$
B $ or more
B $$
B $$
G $r more
Create a PLSQL anonymous block to accomplish the task. Input values for the block are the donor type code and the pledge amount.
marks Create a PLSQL anonymous block to insert a new project in DoGood Donor database. Create and use a sequence to handle generating and populating the project ID The first number issue by the sequence should be and no caching should be used. Use a record variable to handle the data to be added. Data for the new row should be the following: project name is Covid relief fund start date: Feb end date: Jun and fundraising goal is half million. Any columns not addressed in the data list are currently unknown.
marks Create anonymous block to retrieve and display data for all pledges made in a specified month. One row of output should be displayed for each pledge. More specifically, each row include:
a Pledge ID donor ID and pledge amount
b If the pledge is being paid in a lump sum, display Lump Sum
c If the pledge is being paid in monthly, display Monthly followed by number of months for payment
d The list should be sorted to display all lump sum pledges first
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
