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

<svg class="rrdiagram" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="493" height="280" viewbox="0 0 493 280"><path class="connector" d="M0 52h35m53 0h30m90 0h20m-125 0q5 0 5 5v8q0 5 5 5h100q5 0 5-5v-8q0-5 5-5m5 0h30m-5 0q-5 0-5-5v-20q0-5 5-5h83m24 0h83q5 0 5 5v20q0 5-5 5m-5 0h40m-458 0q5 0 5 5v23q0 5 5 5h433q5 0 5-5v-23q0-5 5-5m5 0h7m2 0h2m2 0h2m-493 65h2m2 0h2m2 0h7m67 0h10m54 0h10m83 0h50m36 0h20m-71 0q5 0 5 5v8q0 5 5 5h46q5 0 5-5v-8q0-5 5-5m5 0h10m46 0h20m-167 0q5 0 5 5v23q0 5 5 5h142q5 0 5-5v-23q0-5 5-5m5 0h7m2 0h2m2 0h2m-436 65h2m2 0h2m2 0h27m65 0h10m137 0h115m-337 25q0 5 5 5h5m65 0h10m77 0h10m36 0h10m99 0h5q5 0 5-5m-332-25q5 0 5 5v33q0 5 5 5h317q5 0 5-5v-33q0-5 5-5m5 0h7m2 0h2m2 0h2m-377 70h2m2 0h2m2 0h27m121 0h20m-156 0q5 0 5 5v8q0 5 5 5h131q5 0 5-5v-8q0-5 5-5m5 0h15"/><polygon points="0,59 5,52 0,45" style="fill:black;stroke-width:0"/><rect class="literal" x="35" y="35" width="53" height="25" rx="7"/><text class="text" x="45" y="52">WITH</text><rect class="literal" x="118" y="35" width="90" height="25" rx="7"/><text class="text" x="128" y="52">RECURSIVE</text><rect class="literal" x="336" y="5" width="24" height="25" rx="7"/><text class="text" x="346" y="22">,</text><a xlink:href="../../../syntaxresources/grammardiagrams#common-table-expression"><rect class="rule" x="258" y="35" width="180" height="25"/><text class="text" x="268" y="52">commontableexpression</text></a><rect class="literal" x="15" y="100" width="67" height="25" rx="7"/><text class="text" x="25" y="117">DELETE</text><rect class="literal" x="92" y="100" width="54" height="25" rx="7"/><text class="text" x="102" y="117">FROM</text><a xlink:href="../../../syntaxresources/grammardiagrams#table-expr"><rect class="rule" x="156" y="100" width="83" height="25"/><text class="text" x="166" y="117">tableexpr</text></a><rect class="literal" x="289" y="100" width="36" height="25" rx="7"/><text class="text" x="299" y="117">AS</text><a xlink:href="../../../syntaxresources/grammardiagrams#alias"><rect class="rule" x="355" y="100" width="46" height="25"/><text class="text" x="365" y="117">alias</text></a><rect class="literal" x="35" y="165" width="65" height="25" rx="7"/><text class="text" x="45" y="182">WHERE</text><a xlink:href="../../../syntaxresources/grammardiagrams#boolean-expression"><rect class="rule" x="110" y="165" width="137" height="25"/><text class="text" x="120" y="182">booleanexpression</text></a><rect class="literal" x="35" y="195" width="65" height="25" rx="7"/><text class="text" x="45" y="212">WHERE</text><rect class="literal" x="110" y="195" width="77" height="25" rx="7"/><text class="text" x="120" y="212">CURRENT</text><rect class="literal" x="197" y="195" width="36" height="25" rx="7"/><text class="text" x="207" y="212">OF</text><a xlink:href="../../../syntaxresources/grammardiagrams#cursor-name"><rect class="rule" x="243" y="195" width="99" height="25"/><text class="text" x="253" y="212">cursorname</text></a><a xlink:href="#returning-clause"><rect class="rule" x="35" y="235" width="121" height="25"/><text class="text" x="45" y="252">returningclause</text></a><polygon points="187,259 191,259 191,245 187,245" 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="581" height="125" viewbox="0 0 581 125"><path class="connector" d="M0 22h15m92 0h30m28 0h401m-444 0q5 0 5 5v50q0 5 5 5h25m-5 0q-5 0-5-5v-20q0-5 5-5h177m24 0h178q5 0 5 5v20q0 5-5 5m-243 0h50m36 0h20m-71 0q5 0 5 5v8q0 5 5 5h46q5 0 5-5v-8q0-5 5-5m5 0h10m102 0h20m-223 0q5 0 5 5v23q0 5 5 5h198q5 0 5-5v-23q0-5 5-5m5 0h25q5 0 5-5v-50q0-5 5-5m5 0h15"/><polygon points="0,29 5,22 0,15" style="fill:black;stroke-width:0"/><rect class="literal" x="15" y="5" width="92" height="25" rx="7"/><text class="text" x="25" y="22">RETURNING</text><rect class="literal" x="137" y="5" width="28" height="25" rx="7"/><text class="text" x="147" y="22">*</text><rect class="literal" x="329" y="35" width="24" height="25" rx="7"/><text class="text" x="339" y="52">,</text><a xlink:href="../../../syntaxresources/grammardiagrams#output-expression"><rect class="rule" x="157" y="65" width="131" height="25"/><text class="text" x="167" y="82">outputexpression</text></a><rect class="literal" x="338" y="65" width="36" height="25" rx="7"/><text class="text" x="348" y="82">AS</text><a xlink:href="../../../syntaxresources/grammardiagrams#output-name"><rect class="rule" x="404" y="65" width="102" height="25"/><text class="text" x="414" y="82">outputname</text></a><polygon points="577,29 581,29 581,15 577,15" style="fill:black;stroke-width:0"/></svg>