Hello! Technical task: - Read the records on each order in the procedure from the table of orders. - Run through each order. And compare the final cost with the actual cost of each product.
How can I save a lot of records returned by the select and then operate on each of them in a loop? Even if you can implement it more efficiently (without reading and saving), you still want to know how you can save several sample records and then use them?