docs: public static String getSQLSelectString(PoiCategoryFilter filter, int count, int version) {
          StringBuilder sb = new StringBuilder();
          sb.append(DbConstants.FIND_IN_BOX_CLAUSE_SELECT);
          if (version < 2) {
              sb.append(DbConstants.JOIN_DATA_CLAUSE);
          } else {
              sb.append(DbConstants.JOIN_CATEGORY_CLAUSE);
              if (count > 0) {
                  sb.append(DbConstants.JOIN_DATA_CLAUSE);
              }
          }
          sb.append(DbConstants.FIND_IN_BOX_CLAUSE_WHERE);
          sb.append(getSQLWhereClauseString(filter, version));
          for (int i = 0; i < count; i++) {
              sb.append(DbConstants.FIND_BY_DATA_CLAUSE);
          }
          return (sb.append(" LIMIT ?;").toString());
      }