select * from prodotti
inner join marche on idmarca = id

nella clausole select metti i campi che ti inetressano.