subject

Write a script that creates and calls a stored procedure named test. this procedure should include these statements coded as a transaction:
insert into orders values
(default, 3, '10.00', '0.00', null, 4,
'american express', '378282246310005', '04/2013', 4);
select last_insert_id()
into order_id;
insert into order_items values
(default, order_id, 6, '415.00', '161.85', 1);
insert into order_items values
(default, order_id, 1, '699.00', '209.70', 1);
here, the last_insert_id function is used to get the order id value that

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:30
For her science class, elaine is creating a presentation on weather in the united states. she wants to make the presentation beautiful and interesting by drawing simple cloud or wave shapes. which is the best way for elaine to draw these shapes?
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
What is the power dissipated by a resistor with a current of 0.02 a and a resistance of 1,000 ? a. 200 w b. 20 w c. 0.4 w d. 4 w
Answers: 1
question
Computers and Technology, 23.06.2019 09:20
How to print: number is equal to: 1 and it is odd number number is equal to: 2 and it is even number number is equal to: 3 and it is odd number number is equal to: 4 and it is even number in the console using java using 1 if statement, 1 while loop, 1 else loop also using % to check odds and evens
Answers: 3
question
Computers and Technology, 23.06.2019 17:00
The camera still is bad even with the new iphone xr and especially in low light it is even worst because you can see the pixels more if its in low light. if all you apple customers want apple to fix this then lets fill there feedback with complaints about the
Answers: 1
You know the right answer?
Write a script that creates and calls a stored procedure named test. this procedure should include t...
Questions
question
Mathematics, 09.12.2021 01:00
question
Mathematics, 09.12.2021 01:00
Questions on the website: 13722363