Select Nombre From tabla1 inner join tabla2 on(tabla1.nombre=tabla2.nombre) where tabla1.puesto='Portero' and tabla2.categoria=1