select * from products p 
where p.category_id in ( select category_id from   categories c );


update products
set product_name = 'MicroService'
where product_id = (select product_id from products where product_id = 1027)
and exists (select product_id from products where product_id = 1027);


insert into products ( product_id , category_id  , product_name, price, release_date ) 
select 1036,3, 'MS', 250.99, '6/13/2017'
where NOT exists (select product_id from products where product_name = 'MS');


insert into products ( product_id , category_id  , product_name, price, release_date ) 
select 1037,3, 'Dell', 280.99, '7/13/2017'
where NOT exists (select product_id from products where product_name = 'Dell');

