diff --git a/km63/Pits_Vadym/laboratory5.sql b/km63/Pits_Vadym/laboratory5.sql index 44730cde..2e5b384a 100644 --- a/km63/Pits_Vadym/laboratory5.sql +++ b/km63/Pits_Vadym/laboratory5.sql @@ -1,2 +1,16 @@ --- LABORATORY WORK 5 --- BY Pits_Vadym +create function null_order + +select orders.order_num +from orders join customers +on cutomers.cust_id = orders.cust_id +where orders.order_num is null + +create procedure prod_value +in +declare prod_price + +create view view1 +select products.prod_name from products + +create view view2 +select products.prod_id from products