list-agg.svg 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <svg xmlns="http://www.w3.org/2000/svg" width="627" height="337">
  2. <polygon points="9 17 1 13 1 21"/>
  3. <polygon points="17 17 9 13 9 21"/>
  4. <rect x="31" y="3" width="74" height="32" rx="10"/>
  5. <rect x="29"
  6. y="1"
  7. width="74"
  8. height="32"
  9. class="terminal"
  10. rx="10"/>
  11. <text class="terminal" x="39" y="21">list_agg</text>
  12. <rect x="125" y="3" width="26" height="32" rx="10"/>
  13. <rect x="123"
  14. y="1"
  15. width="26"
  16. height="32"
  17. class="terminal"
  18. rx="10"/>
  19. <text class="terminal" x="133" y="21">(</text>
  20. <rect x="171" y="3" width="54" height="32"/>
  21. <rect x="169" y="1" width="54" height="32" class="nonterminal"/>
  22. <text class="nonterminal" x="179" y="21">value</text>
  23. <rect x="45" y="113" width="68" height="32" rx="10"/>
  24. <rect x="43"
  25. y="111"
  26. width="68"
  27. height="32"
  28. class="terminal"
  29. rx="10"/>
  30. <text class="terminal" x="53" y="131">ORDER</text>
  31. <rect x="133" y="113" width="40" height="32" rx="10"/>
  32. <rect x="131"
  33. y="111"
  34. width="40"
  35. height="32"
  36. class="terminal"
  37. rx="10"/>
  38. <text class="terminal" x="141" y="131">BY</text>
  39. <rect x="213" y="113" width="64" height="32"/>
  40. <rect x="211" y="111" width="64" height="32" class="nonterminal"/>
  41. <text class="nonterminal" x="221" y="131">col_ref</text>
  42. <rect x="317" y="145" width="50" height="32" rx="10"/>
  43. <rect x="315"
  44. y="143"
  45. width="50"
  46. height="32"
  47. class="terminal"
  48. rx="10"/>
  49. <text class="terminal" x="325" y="163">ASC</text>
  50. <rect x="317" y="189" width="58" height="32" rx="10"/>
  51. <rect x="315"
  52. y="187"
  53. width="58"
  54. height="32"
  55. class="terminal"
  56. rx="10"/>
  57. <text class="terminal" x="325" y="207">DESC</text>
  58. <rect x="435" y="145" width="106" height="32" rx="10"/>
  59. <rect x="433"
  60. y="143"
  61. width="106"
  62. height="32"
  63. class="terminal"
  64. rx="10"/>
  65. <text class="terminal" x="443" y="163">NULLS LAST</text>
  66. <rect x="435" y="189" width="110" height="32" rx="10"/>
  67. <rect x="433"
  68. y="187"
  69. width="110"
  70. height="32"
  71. class="terminal"
  72. rx="10"/>
  73. <text class="terminal" x="443" y="207">NULLS FIRST</text>
  74. <rect x="213" y="69" width="24" height="32" rx="10"/>
  75. <rect x="211"
  76. y="67"
  77. width="24"
  78. height="32"
  79. class="terminal"
  80. rx="10"/>
  81. <text class="terminal" x="221" y="87">,</text>
  82. <rect x="147" y="271" width="26" height="32" rx="10"/>
  83. <rect x="145"
  84. y="269"
  85. width="26"
  86. height="32"
  87. class="terminal"
  88. rx="10"/>
  89. <text class="terminal" x="155" y="289">)</text>
  90. <rect x="213" y="303" width="66" height="32" rx="10"/>
  91. <rect x="211"
  92. y="301"
  93. width="66"
  94. height="32"
  95. class="terminal"
  96. rx="10"/>
  97. <text class="terminal" x="221" y="321">FILTER</text>
  98. <rect x="299" y="303" width="26" height="32" rx="10"/>
  99. <rect x="297"
  100. y="301"
  101. width="26"
  102. height="32"
  103. class="terminal"
  104. rx="10"/>
  105. <text class="terminal" x="307" y="321">(</text>
  106. <rect x="345" y="303" width="70" height="32" rx="10"/>
  107. <rect x="343"
  108. y="301"
  109. width="70"
  110. height="32"
  111. class="terminal"
  112. rx="10"/>
  113. <text class="terminal" x="353" y="321">WHERE</text>
  114. <rect x="435" y="303" width="98" height="32"/>
  115. <rect x="433" y="301" width="98" height="32" class="nonterminal"/>
  116. <text class="nonterminal" x="443" y="321">filter_clause</text>
  117. <rect x="553" y="303" width="26" height="32" rx="10"/>
  118. <rect x="551"
  119. y="301"
  120. width="26"
  121. height="32"
  122. class="terminal"
  123. rx="10"/>
  124. <text class="terminal" x="561" y="321">)</text>
  125. <path class="line"
  126. d="m17 17 h2 m0 0 h10 m74 0 h10 m0 0 h10 m26 0 h10 m0 0 h10 m54 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-244 110 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m68 0 h10 m0 0 h10 m40 0 h10 m20 0 h10 m64 0 h10 m20 0 h10 m0 0 h68 m-98 0 h20 m78 0 h20 m-118 0 q10 0 10 10 m98 0 q0 -10 10 -10 m-108 10 v12 m98 0 v-12 m-98 12 q0 10 10 10 m78 0 q10 0 10 -10 m-88 10 h10 m50 0 h10 m0 0 h8 m-88 -10 v20 m98 0 v-20 m-98 20 v24 m98 0 v-24 m-98 24 q0 10 10 10 m78 0 q10 0 10 -10 m-88 10 h10 m58 0 h10 m40 -76 h10 m0 0 h120 m-150 0 h20 m130 0 h20 m-170 0 q10 0 10 10 m150 0 q0 -10 10 -10 m-160 10 v12 m150 0 v-12 m-150 12 q0 10 10 10 m130 0 q10 0 10 -10 m-140 10 h10 m106 0 h10 m0 0 h4 m-140 -10 v20 m150 0 v-20 m-150 20 v24 m150 0 v-24 m-150 24 q0 10 10 10 m130 0 q10 0 10 -10 m-140 10 h10 m110 0 h10 m-372 -76 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m372 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-372 0 h10 m24 0 h10 m0 0 h328 m-560 44 h20 m560 0 h20 m-600 0 q10 0 10 10 m580 0 q0 -10 10 -10 m-590 10 v90 m580 0 v-90 m-580 90 q0 10 10 10 m560 0 q10 0 10 -10 m-570 10 h10 m0 0 h550 m22 -110 l2 0 m2 0 l2 0 m2 0 l2 0 m-502 158 l2 0 m2 0 l2 0 m2 0 l2 0 m2 0 h10 m26 0 h10 m20 0 h10 m0 0 h376 m-406 0 h20 m386 0 h20 m-426 0 q10 0 10 10 m406 0 q0 -10 10 -10 m-416 10 v12 m406 0 v-12 m-406 12 q0 10 10 10 m386 0 q10 0 10 -10 m-396 10 h10 m66 0 h10 m0 0 h10 m26 0 h10 m0 0 h10 m70 0 h10 m0 0 h10 m98 0 h10 m0 0 h10 m26 0 h10 m23 -32 h-3"/>
  127. <polygon points="617 285 625 281 625 289"/>
  128. <polygon points="617 285 609 281 609 289"/>
  129. </svg>