insert.svg 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. <svg xmlns="http://www.w3.org/2000/svg" width="699" height="627">
  2. <polygon points="11 17 3 13 3 21"/>
  3. <polygon points="19 17 11 13 11 21"/>
  4. <rect x="33" y="3" width="70" height="32" rx="10"/>
  5. <rect x="31"
  6. y="1"
  7. width="70"
  8. height="32"
  9. class="terminal"
  10. rx="10"/>
  11. <text class="terminal" x="41" y="21">INSERT</text>
  12. <rect x="123" y="3" width="54" height="32" rx="10"/>
  13. <rect x="121"
  14. y="1"
  15. width="54"
  16. height="32"
  17. class="terminal"
  18. rx="10"/>
  19. <text class="terminal" x="131" y="21">INTO</text>
  20. <rect x="197" y="3" width="96" height="32"/>
  21. <rect x="195" y="1" width="96" height="32" class="nonterminal"/>
  22. <text class="nonterminal" x="205" y="21">table_name</text>
  23. <rect x="333" y="35" width="40" height="32" rx="10"/>
  24. <rect x="331"
  25. y="33"
  26. width="40"
  27. height="32"
  28. class="terminal"
  29. rx="10"/>
  30. <text class="terminal" x="341" y="53">AS</text>
  31. <rect x="413" y="3" width="50" height="32"/>
  32. <rect x="411" y="1" width="50" height="32" class="nonterminal"/>
  33. <text class="nonterminal" x="421" y="21">alias</text>
  34. <rect x="245" y="145" width="26" height="32" rx="10"/>
  35. <rect x="243"
  36. y="143"
  37. width="26"
  38. height="32"
  39. class="terminal"
  40. rx="10"/>
  41. <text class="terminal" x="253" y="163">(</text>
  42. <rect x="311" y="145" width="82" height="32"/>
  43. <rect x="309" y="143" width="82" height="32" class="nonterminal"/>
  44. <text class="nonterminal" x="319" y="163">col_name</text>
  45. <rect x="311" y="101" width="24" height="32" rx="10"/>
  46. <rect x="309"
  47. y="99"
  48. width="24"
  49. height="32"
  50. class="terminal"
  51. rx="10"/>
  52. <text class="terminal" x="319" y="119">,</text>
  53. <rect x="433" y="145" width="26" height="32" rx="10"/>
  54. <rect x="431"
  55. y="143"
  56. width="26"
  57. height="32"
  58. class="terminal"
  59. rx="10"/>
  60. <text class="terminal" x="441" y="163">)</text>
  61. <rect x="194" y="315" width="76" height="32" rx="10"/>
  62. <rect x="192"
  63. y="313"
  64. width="76"
  65. height="32"
  66. class="terminal"
  67. rx="10"/>
  68. <text class="terminal" x="202" y="333">VALUES</text>
  69. <rect x="310" y="315" width="26" height="32" rx="10"/>
  70. <rect x="308"
  71. y="313"
  72. width="26"
  73. height="32"
  74. class="terminal"
  75. rx="10"/>
  76. <text class="terminal" x="318" y="333">(</text>
  77. <rect x="376" y="315" width="48" height="32"/>
  78. <rect x="374" y="313" width="48" height="32" class="nonterminal"/>
  79. <text class="nonterminal" x="384" y="333">expr</text>
  80. <rect x="376" y="271" width="24" height="32" rx="10"/>
  81. <rect x="374"
  82. y="269"
  83. width="24"
  84. height="32"
  85. class="terminal"
  86. rx="10"/>
  87. <text class="terminal" x="384" y="289">,</text>
  88. <rect x="464" y="315" width="26" height="32" rx="10"/>
  89. <rect x="462"
  90. y="313"
  91. width="26"
  92. height="32"
  93. class="terminal"
  94. rx="10"/>
  95. <text class="terminal" x="472" y="333">)</text>
  96. <rect x="310" y="227" width="24" height="32" rx="10"/>
  97. <rect x="308"
  98. y="225"
  99. width="24"
  100. height="32"
  101. class="terminal"
  102. rx="10"/>
  103. <text class="terminal" x="318" y="245">,</text>
  104. <rect x="194" y="359" width="58" height="32"/>
  105. <rect x="192" y="357" width="58" height="32" class="nonterminal"/>
  106. <text class="nonterminal" x="202" y="377">query</text>
  107. <rect x="45" y="469" width="102" height="32" rx="10"/>
  108. <rect x="43"
  109. y="467"
  110. width="102"
  111. height="32"
  112. class="terminal"
  113. rx="10"/>
  114. <text class="terminal" x="53" y="487">RETURNING</text>
  115. <rect x="207" y="469" width="28" height="32" rx="10"/>
  116. <rect x="205"
  117. y="467"
  118. width="28"
  119. height="32"
  120. class="terminal"
  121. rx="10"/>
  122. <text class="terminal" x="215" y="487">*</text>
  123. <rect x="207" y="513" width="140" height="32"/>
  124. <rect x="205" y="511" width="140" height="32" class="nonterminal"/>
  125. <text class="nonterminal" x="215" y="531">output_expression</text>
  126. <rect x="407" y="577" width="38" height="32"/>
  127. <rect x="405" y="575" width="38" height="32" class="nonterminal"/>
  128. <text class="nonterminal" x="415" y="595">AS</text>
  129. <rect x="485" y="545" width="106" height="32"/>
  130. <rect x="483" y="543" width="106" height="32" class="nonterminal"/>
  131. <text class="nonterminal" x="493" y="563">output_name</text>
  132. <rect x="187" y="425" width="24" height="32" rx="10"/>
  133. <rect x="185"
  134. y="423"
  135. width="24"
  136. height="32"
  137. class="terminal"
  138. rx="10"/>
  139. <text class="terminal" x="195" y="443">,</text>
  140. <path class="line"
  141. d="m19 17 h2 m0 0 h10 m70 0 h10 m0 0 h10 m54 0 h10 m0 0 h10 m96 0 h10 m20 0 h10 m0 0 h50 m-80 0 h20 m60 0 h20 m-100 0 q10 0 10 10 m80 0 q0 -10 10 -10 m-90 10 v12 m80 0 v-12 m-80 12 q0 10 10 10 m60 0 q10 0 10 -10 m-70 10 h10 m40 0 h10 m20 -32 h10 m50 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-282 142 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m26 0 h10 m20 0 h10 m82 0 h10 m-122 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m102 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-102 0 h10 m24 0 h10 m0 0 h58 m20 44 h10 m26 0 h10 m-254 0 h20 m234 0 h20 m-274 0 q10 0 10 10 m254 0 q0 -10 10 -10 m-264 10 v14 m254 0 v-14 m-254 14 q0 10 10 10 m234 0 q10 0 10 -10 m-244 10 h10 m0 0 h224 m22 -34 l2 0 m2 0 l2 0 m2 0 l2 0 m-349 170 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m76 0 h10 m20 0 h10 m26 0 h10 m20 0 h10 m48 0 h10 m-88 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m68 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-68 0 h10 m24 0 h10 m0 0 h24 m20 44 h10 m26 0 h10 m-220 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -68 q0 -10 10 -10 m200 88 l20 0 m-20 0 q10 0 10 -10 l0 -68 q0 -10 -10 -10 m-200 0 h10 m24 0 h10 m0 0 h156 m-336 88 h20 m336 0 h20 m-376 0 q10 0 10 10 m356 0 q0 -10 10 -10 m-366 10 v24 m356 0 v-24 m-356 24 q0 10 10 10 m336 0 q10 0 10 -10 m-346 10 h10 m58 0 h10 m0 0 h258 m22 -44 l2 0 m2 0 l2 0 m2 0 l2 0 m-549 154 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m102 0 h10 m40 0 h10 m28 0 h10 m0 0 h376 m-444 0 h20 m424 0 h20 m-464 0 q10 0 10 10 m444 0 q0 -10 10 -10 m-454 10 v24 m444 0 v-24 m-444 24 q0 10 10 10 m424 0 q10 0 10 -10 m-434 10 h10 m140 0 h10 m20 0 h10 m0 0 h214 m-244 0 h20 m224 0 h20 m-264 0 q10 0 10 10 m244 0 q0 -10 10 -10 m-254 10 v12 m244 0 v-12 m-244 12 q0 10 10 10 m224 0 q10 0 10 -10 m-214 10 h10 m0 0 h48 m-78 0 h20 m58 0 h20 m-98 0 q10 0 10 10 m78 0 q0 -10 10 -10 m-88 10 v12 m78 0 v-12 m-78 12 q0 10 10 10 m58 0 q10 0 10 -10 m-68 10 h10 m38 0 h10 m20 -32 h10 m106 0 h10 m-444 -76 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m464 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-464 0 h10 m24 0 h10 m0 0 h420 m-626 44 h20 m626 0 h20 m-666 0 q10 0 10 10 m646 0 q0 -10 10 -10 m-656 10 v122 m646 0 v-122 m-646 122 q0 10 10 10 m626 0 q10 0 10 -10 m-636 10 h10 m0 0 h616 m23 -142 h-3"/>
  142. <polygon points="689 483 697 479 697 487"/>
  143. <polygon points="689 483 681 479 681 487"/>
  144. </svg>