Advertisement
Fhernd

RFC4_1.sql

Sep 24th, 2014
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.33 KB | None | 0 0
  1. SELECT *
  2. FROM INTERMEDIARIO i INNER JOIN SolicitudOperacion s ON s.FK_ID_INTERMEDIARIO = i.ID_INTERMERMEDIARIO JOIN Inversionista v
  3. ON s.ID_INVERSIONISTA = v.ID_INVERSIONISTA
  4. WHERE s.FK_ID_VALOR =
  5. (SELECT ID_VALOR
  6. FROM Valor WHERE FK_ID_TIPO_VALOR = (SELECT ID_TIPO_VALOR
  7. FROM TipoValor
  8. WHERE NOMBRE_VALOR = $P{tipoValor}))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement