$sql.metaData.supportsGroupByBeyondSelect

Retrieves whether this database supports using columns not included in the SELECT statement in a GROUP BY clause provided that all of the columns in the SELECT statement are included in the GROUP BY clause.
Syntax
    $sql.metaData.supportsGroupByBeyondSelect{jdbcProfileName}
DocumentationRetrieves whether this database supports using columns not included in the SELECT statement in a GROUP BY clause provided that all of the columns in the SELECT statement are included in the GROUP BY clause. :

    Paramter:
      Requieres one parameter, this is your JDBC profile name.
    Returns:
      1 if so; 0 otherwise
    Throws:
      SQLException - if a database access error occurs
Examples
GroupSQL
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 1