Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write MySQL , PL / SQL , or T - SQL procedures to accomplish the following task: a . Obtain the name and credit limit
Write MySQL PLSQL or TSQL procedures to accomplish the following task:
a Obtain the name and credit limit of the customer whose ID is currently stored in ICUSTID Place these values in the variables ICUSTOMERNAME and ICREDITLIMIT, respectively. Output the contents of ICUSTOMERNAME and ICREDITLIMIT.
b Obtain the invoice date, customer ID and first and last names for the invoice whose number currently is stored in IINVOICENUM. Place these values in the variables IINVOICEDATE, ICUSTID and ICUSTNAME, respectively. Output the contents of IINVOICEDATE, ICUSTID and ICUSTNAME.
c Add a row to the INVOICE table.
d Change the date of the invoice whose number is stored in IINVOICENUM to the date currently found in IINVOICEDATE.
e Delete the invoice whose number is stored in IINVOICENUM.
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