Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/06/2010, 07:54
Avatar de flaviovich
flaviovich
 
Fecha de Ingreso: agosto-2005
Ubicación: Lima, Peru
Mensajes: 2.951
Antigüedad: 18 años, 8 meses
Puntos: 39
Respuesta: Ayuda con una consulta desde el Query

Aver prueba asi:
Código SQL:
Ver original
  1. SELECT TOP 2 CER."Relational Exch_ Rate Amount"
  2. FROM Monolitic.dbo."Currency Exchange Rate" CER
  3. WHERE CER."Currency Code" IN ('USD','JPY')
  4. AND CER."Starting Date" = (
  5.     SELECT MAX("Currency Exchange Rate"."Starting Date")
  6.     FROM Basededatos.dbo."Currency Exchange Rate")
  7. )
__________________
No repitamos temas, usemos el Motor de busquedas
Plantea bien tu problema: Ayúdanos a ayudarte.