sqlh16.1

01-- Oefening 1
02 
03UPDATE Customers
04SET cust_name = 'Intertoys B.V.'
05WHERE cust_id BETWEEN 1000000008 AND 1000000010;
06 
07-- Oefening 2
08 
09DELETE Customers
10WHERE cust_id = 1000000007;
11 
12-- Oefening 3
13 
14DELETE OrderItems
15WHERE order_num = 20010
16 
17DELETE Orders
18WHERE order_num = 20010
19 
20DELETE Customers
21WHERE cust_id = 1000000007;

Download hier het bestand.