subject
Computers and Technology, 10.11.2019 14:31 tra80

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: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:00
Acase study allows a more detailed look at the life of a single subject than any other study.
Answers: 3
question
Computers and Technology, 23.06.2019 17:00
What are the 12 colors of the spectrum called?
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
What would be the address of the cell, which is at the intersection of the second row and the third column in a worksheet?
Answers: 1
question
Computers and Technology, 24.06.2019 20:30
Where is permanent data in the computer stored whenever gym starts his laptop he sees some commands in numbers appearing on the screen these instructions are being preceded by the control unit in
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, 14.09.2019 23:10
question
Biology, 14.09.2019 23:10
Questions on the website: 13722361