MySql error - 1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND T.fehasta > CURDATE() GROUP BY T.idprograma' at line 6
Sentencia SQL:: SELECT T.idprograma, '$' AS moneda, DATE_FORMAT(T.fedesde, '%d/%m/%y') AS fedesde, DATE_FORMAT(T.fehasta, '%d/%m/%y') AS fehasta, ROUND(MIN(T.precio) * C.cotizacion) AS precio FROM exp_tarifas T INNER JOIN vw_cotizaciones C ON T.moneda = C.moneda WHERE T.idprograma IN () AND T.fehasta > CURDATE() GROUP BY T.idprograma