Project: YugabyteDB (App Definition and Development / Database)
File: group_by_clause,grouping_element.diagram.md

<svg class="rrdiagram" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="316" height="65" viewbox="0 0 316 65"><path class="connector" d="M0 52h15m62 0h10m35 0h30m-5 0q-5 0-5-5v-20q0-5 5-5h57m24 0h58q5 0 5 5v20q0 5-5 5m-5 0h35"/><polygon points="0,59 5,52 0,45" style="fill:black;stroke-width:0"/><rect class="literal" x="15" y="35" width="62" height="25" rx="7"/><text class="text" x="25" y="52">GROUP</text><rect class="literal" x="87" y="35" width="35" height="25" rx="7"/><text class="text" x="97" y="52">BY</text><rect class="literal" x="204" y="5" width="24" height="25" rx="7"/><text class="text" x="214" y="22">,</text><a xlink:href="#grouping-element"><rect class="rule" x="152" y="35" width="129" height="25"/><text class="text" x="162" y="52">grouping_element</text></a><polygon points="312,59 316,59 316,45 312,45" style="fill:black;stroke-width:0"/></svg> <svg class="rrdiagram" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="465" height="275" viewbox="0 0 465 275"><path class="connector" d="M0 22h35m25 0h10m25 0h355m-425 55q0 5 5 5h5m25 0h30m-5 0q-5 0-5-5v-20q0-5 5-5h34m24 0h35q5 0 5 5v20q0 5-5 5m-5 0h30m25 0h207q5 0 5-5m-415 60q0 5 5 5h5m67 0h10m25 0h30m-5 0q-5 0-5-5v-20q0-5 5-5h34m24 0h35q5 0 5 5v20q0 5-5 5m-5 0h30m25 0h130q5 0 5-5m-415 60q0 5 5 5h5m53 0h10m25 0h30m-5 0q-5 0-5-5v-20q0-5 5-5h34m24 0h35q5 0 5 5v20q0 5-5 5m-5 0h30m25 0h144q5 0 5-5m-420-175q5 0 5 5v230q0 5 5 5h5m85 0h10m51 0h10m25 0h30m-5 0q-5 0-5-5v-20q0-5 5-5h57m24 0h58q5 0 5 5v20q0 5-5 5m-5 0h30m25 0h5q5 0 5-5v-230q0-5 5-5m5 0h15"/><polygon points="0,29 5,22 0,15" style="fill:black;stroke-width:0"/><rect class="literal" x="35" y="5" width="25" height="25" rx="7"/><text class="text" x="45" y="22">(</text><rect class="literal" x="70" y="5" width="25" height="25" rx="7"/><text class="text" x="80" y="22">)</text><rect class="literal" x="35" y="65" width="25" height="25" rx="7"/><text class="text" x="45" y="82">(</text><rect class="literal" x="119" y="35" width="24" height="25" rx="7"/><text class="text" x="129" y="52">,</text><a xlink:href="../../../syntaxresources/grammardiagrams#expression"><rect class="rule" x="90" y="65" width="83" height="25"/><text class="text" x="100" y="82">expression</text></a><rect class="literal" x="203" y="65" width="25" height="25" rx="7"/><text class="text" x="213" y="82">)</text><rect class="literal" x="35" y="125" width="67" height="25" rx="7"/><text class="text" x="45" y="142">ROLLUP</text><rect class="literal" x="112" y="125" width="25" height="25" rx="7"/><text class="text" x="122" y="142">(</text><rect class="literal" x="196" y="95" width="24" height="25" rx="7"/><text class="text" x="206" y="112">,</text><a xlink:href="../../../syntaxresources/grammardiagrams#expression"><rect class="rule" x="167" y="125" width="83" height="25"/><text class="text" x="177" y="142">expression</text></a><rect class="literal" x="280" y="125" width="25" height="25" rx="7"/><text class="text" x="290" y="142">)</text><rect class="literal" x="35" y="185" width="53" height="25" rx="7"/><text class="text" x="45" y="202">CUBE</text><rect class="literal" x="98" y="185" width="25" height="25" rx="7"/><text class="text" x="108" y="202">(</text><rect class="literal" x="182" y="155" width="24" height="25" rx="7"/><text class="text" x="192" y="172">,</text><a xlink:href="../../../syntaxresources/grammardiagrams#expression"><rect class="rule" x="153" y="185" width="83" height="25"/><text class="text" x="163" y="202">expression</text></a><rect class="literal" x="266" y="185" width="25" height="25" rx="7"/><text class="text" x="276" y="202">)</text><rect class="literal" x="35" y="245" width="85" height="25" rx="7"/><text class="text" x="45" y="262">GROUPING</text><rect class="literal" x="130" y="245" width="51" height="25" rx="7"/><text class="text" x="140" y="262">SETS</text><rect class="literal" x="191" y="245" width="25" height="25" rx="7"/><text class="text" x="201" y="262">(</text><rect class="literal" x="298" y="215" width="24" height="25" rx="7"/><text class="text" x="308" y="232">,</text><a xlink:href="#grouping-element"><rect class="rule" x="246" y="245" width="129" height="25"/><text class="text" x="256" y="262">grouping_element</text></a><rect class="literal" x="405" y="245" width="25" height="25" rx="7"/><text class="text" x="415" y="262">)</text><polygon points="461,29 465,29 465,15 461,15" style="fill:black;stroke-width:0"/></svg>