My query works fine when I test it on SQL Server, but when I try apply it in my Java Web App, it always return me with the error above.
String sql = "sel