Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a PL/SQL code block that will accept an account number from the user & debit an amount of Rs2000 from the account if the

Write a PL/SQL code block that will accept an account number from the user & debit an amount of Rs2000 from the account if the account has a min balance of Rs500 after the amount is debited. The process is to be fired on the account table. Table name :- Accounts Account Id Name Bal AC001 John 5000

image text in transcribed

AC002 Smith 10000 AC003 Mita 5000 AC004 Melba 15000 AC005 Sunita 10000 [Hint: Choose AC003 , /* Accept an account no from the user*/ accnt_no:=:accnt_no;]

Write a PL/SQL code block that will accept an account number from the user & debit an amount of Rs2000 from the account if the account has a min balance of Rs500 after the amount is debited. The process is to be fired on the account table. Table name :- Accounts [ F [Hint: Choose AC003 ,/* Accept an account no from the user*/ accnt_no:=:accnt_no;]

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

More Books

Students also viewed these Databases questions

Question

b. Explain how you initially felt about the communication.

Answered: 1 week ago

Question

3. Identify the methods used within each of the three approaches.

Answered: 1 week ago

Question

a. When did your ancestors come to the United States?

Answered: 1 week ago