forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Su, Xiaomeng <suxiaomeng1@huawei.com> Co-committed-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
31 lines
1.7 KiB
HTML
31 lines
1.7 KiB
HTML
<a name="dli_08_15097"></a><a name="dli_08_15097"></a>
|
|
|
|
<h1 class="topictitle1">Grouping Functions</h1>
|
|
<div id="body0000001310095805">
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dli_08_15097__table199518013417" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Grouping functions</caption><thead align="left"><tr id="dli_08_15097__row19951201147"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.1.2.3.1.1"><p id="dli_08_15097__p099510010419">SQL Function</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.1.2.3.1.2"><p id="dli_08_15097__p59961011414">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dli_08_15097__row09961501747"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.3.1.1 "><p id="dli_08_15097__p1460972816185">GROUP_ID()</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.3.1.2 "><p id="dli_08_15097__p893214408181">Returns an integer that uniquely identifies the combination of grouping keys.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dli_08_15097__row18996208410"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.3.1.1 "><p id="dli_08_15097__p1621614464181">GROUPING(expression1 [, expression2]* ) | GROUPING_ID(expression1 [, expression2]* )</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.3.1.2 "><p id="dli_08_15097__dli_08_0101_a33aa18ca20b844428a8e59dcdb659211">Returns a bit vector for the given grouping expression.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dli_08_15085.html">Built-In Functions</a></div>
|
|
</div>
|
|
</div>
|
|
|