Answered step by step
Verified Expert Solution
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
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started