Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions km63/Pits_Vadym/laboratory5.sql
Original file line number Diff line number Diff line change
@@ -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