I have a Spring Boot app and SQL Server.
When executing this SQL:
@Query("SELECT DISTINCT SUBSTRING(ave,0,CHARINDEX(\'.\', ave)) FROM Comm")