code: private List<String> normalize(String sql) {
  
          String normSql = sql.replaceAll(";", "; ");
          normSql = normSql.replaceAll("\\s+", " ");
          return Arrays.stream(normSql.split(";")).map(s -> s.trim()).collect(Collectors.toList());
      }
docs: Returns a list of single sql sentences,
  removing all special chars like tabs or eol's.<p>
  
  @param sql the sql query
  
  @return a list of sql sentences