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() ORDER BY T.idprograma, T.agruparpor' at line 6
Sentencia SQL:: SELECT T.idprograma, T.agruparpor, T.detalle, '$' AS moneda, DATE_FORMAT(T.fedesde, '%d/%m/%y') AS fedesde, DATE_FORMAT(T.fehasta, '%d/%m/%y') AS fehasta, ROUND(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() ORDER BY T.idprograma, T.agruparpor