select t.precio as precio, c.nombre as nombre from curso_tienda as t inner join curso as c on t.curso_id=c.id where t.id = ? ;