select * from prodotti, inventario where inventario.id_prodotto=prodotti.it