create-view.svg 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <svg xmlns="http://www.w3.org/2000/svg" width="597" height="283">
  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="76" height="32" rx="10"/>
  5. <rect x="29"
  6. y="1"
  7. width="76"
  8. height="32"
  9. class="terminal"
  10. rx="10"/>
  11. <text class="terminal" x="39" y="21">CREATE</text>
  12. <rect x="167" y="35" width="60" height="32" rx="10"/>
  13. <rect x="165"
  14. y="33"
  15. width="60"
  16. height="32"
  17. class="terminal"
  18. rx="10"/>
  19. <text class="terminal" x="175" y="53">TEMP</text>
  20. <rect x="167" y="79" width="110" height="32" rx="10"/>
  21. <rect x="165"
  22. y="77"
  23. width="110"
  24. height="32"
  25. class="terminal"
  26. rx="10"/>
  27. <text class="terminal" x="175" y="97">TEMPORARY</text>
  28. <rect x="317" y="3" width="58" height="32" rx="10"/>
  29. <rect x="315"
  30. y="1"
  31. width="58"
  32. height="32"
  33. class="terminal"
  34. rx="10"/>
  35. <text class="terminal" x="325" y="21">VIEW</text>
  36. <rect x="415" y="35" width="120" height="32" rx="10"/>
  37. <rect x="413"
  38. y="33"
  39. width="120"
  40. height="32"
  41. class="terminal"
  42. rx="10"/>
  43. <text class="terminal" x="423" y="53">IF NOT EXISTS</text>
  44. <rect x="147" y="123" width="108" height="32" rx="10"/>
  45. <rect x="145"
  46. y="121"
  47. width="108"
  48. height="32"
  49. class="terminal"
  50. rx="10"/>
  51. <text class="terminal" x="155" y="141">OR REPLACE</text>
  52. <rect x="275" y="123" width="58" height="32" rx="10"/>
  53. <rect x="273"
  54. y="121"
  55. width="58"
  56. height="32"
  57. class="terminal"
  58. rx="10"/>
  59. <text class="terminal" x="283" y="141">VIEW</text>
  60. <rect x="31" y="233" width="92" height="32"/>
  61. <rect x="29" y="231" width="92" height="32" class="nonterminal"/>
  62. <text class="nonterminal" x="39" y="251">view_name</text>
  63. <rect x="163" y="233" width="26" height="32" rx="10"/>
  64. <rect x="161"
  65. y="231"
  66. width="26"
  67. height="32"
  68. class="terminal"
  69. rx="10"/>
  70. <text class="terminal" x="171" y="251">(</text>
  71. <rect x="229" y="233" width="78" height="32"/>
  72. <rect x="227" y="231" width="78" height="32" class="nonterminal"/>
  73. <text class="nonterminal" x="237" y="251">col_ident</text>
  74. <rect x="229" y="189" width="24" height="32" rx="10"/>
  75. <rect x="227"
  76. y="187"
  77. width="24"
  78. height="32"
  79. class="terminal"
  80. rx="10"/>
  81. <text class="terminal" x="237" y="207">,</text>
  82. <rect x="347" y="233" width="26" height="32" rx="10"/>
  83. <rect x="345"
  84. y="231"
  85. width="26"
  86. height="32"
  87. class="terminal"
  88. rx="10"/>
  89. <text class="terminal" x="355" y="251">)</text>
  90. <rect x="413" y="233" width="40" height="32" rx="10"/>
  91. <rect x="411"
  92. y="231"
  93. width="40"
  94. height="32"
  95. class="terminal"
  96. rx="10"/>
  97. <text class="terminal" x="421" y="251">AS</text>
  98. <rect x="473" y="233" width="96" height="32"/>
  99. <rect x="471" y="231" width="96" height="32" class="nonterminal"/>
  100. <text class="nonterminal" x="481" y="251">select_stmt</text>
  101. <path class="line"
  102. d="m17 17 h2 m0 0 h10 m76 0 h10 m40 0 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 m60 0 h10 m0 0 h50 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 m20 -76 h10 m58 0 h10 m20 0 h10 m0 0 h130 m-160 0 h20 m140 0 h20 m-180 0 q10 0 10 10 m160 0 q0 -10 10 -10 m-170 10 v12 m160 0 v-12 m-160 12 q0 10 10 10 m140 0 q10 0 10 -10 m-150 10 h10 m120 0 h10 m-428 -32 h20 m428 0 h20 m-468 0 q10 0 10 10 m448 0 q0 -10 10 -10 m-458 10 v100 m448 0 v-100 m-448 100 q0 10 10 10 m428 0 q10 0 10 -10 m-438 10 h10 m108 0 h10 m0 0 h10 m58 0 h10 m0 0 h222 m22 -120 l2 0 m2 0 l2 0 m2 0 l2 0 m-588 230 l2 0 m2 0 l2 0 m2 0 l2 0 m2 0 h10 m92 0 h10 m20 0 h10 m26 0 h10 m20 0 h10 m78 0 h10 m-118 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m98 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-98 0 h10 m24 0 h10 m0 0 h54 m20 44 h10 m26 0 h10 m-250 0 h20 m230 0 h20 m-270 0 q10 0 10 10 m250 0 q0 -10 10 -10 m-260 10 v14 m250 0 v-14 m-250 14 q0 10 10 10 m230 0 q10 0 10 -10 m-240 10 h10 m0 0 h220 m20 -34 h10 m40 0 h10 m0 0 h10 m96 0 h10 m3 0 h-3"/>
  103. <polygon points="587 247 595 243 595 251"/>
  104. <polygon points="587 247 579 243 579 251"/>
  105. </svg>