-- Database schema
| Manufacturers : Code [ INT ] primary_key , Name [ TEXT ] , Headquarter [ TEXT ] , Founder [ TEXT ] , Revenue [ INT ] | Products : Code [ INT ] primary_key , Name [ TEXT ] , Price [ INT ] , Manufacturer [ INT ] Products.Manufacturer = Manufacturers.Code |
-- -- Compute the average price of all products with manufacturer code equal to 2.

SELECT avg(price) FROM products WHERE Manufacturer  =  2;