join-expr.svg 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <svg xmlns="http://www.w3.org/2000/svg" width="915" height="409">
  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="96" height="32"/>
  5. <rect x="29" y="1" width="96" height="32" class="nonterminal"/>
  6. <text class="nonterminal" x="39" y="21">select_pred</text>
  7. <rect x="65" y="69" width="68" height="32" rx="10"/>
  8. <rect x="63"
  9. y="67"
  10. width="68"
  11. height="32"
  12. class="terminal"
  13. rx="10"/>
  14. <text class="terminal" x="73" y="87">CROSS</text>
  15. <rect x="65" y="113" width="88" height="32" rx="10"/>
  16. <rect x="63"
  17. y="111"
  18. width="88"
  19. height="32"
  20. class="terminal"
  21. rx="10"/>
  22. <text class="terminal" x="73" y="131">NATURAL</text>
  23. <rect x="193" y="145" width="78" height="32"/>
  24. <rect x="191" y="143" width="78" height="32" class="nonterminal"/>
  25. <text class="nonterminal" x="201" y="163">join_type</text>
  26. <rect x="331" y="69" width="52" height="32" rx="10"/>
  27. <rect x="329"
  28. y="67"
  29. width="52"
  30. height="32"
  31. class="terminal"
  32. rx="10"/>
  33. <text class="terminal" x="339" y="87">JOIN</text>
  34. <rect x="403" y="69" width="78" height="32"/>
  35. <rect x="401" y="67" width="78" height="32" class="nonterminal"/>
  36. <text class="nonterminal" x="411" y="87">table_ref</text>
  37. <rect x="45" y="233" width="78" height="32"/>
  38. <rect x="43" y="231" width="78" height="32" class="nonterminal"/>
  39. <text class="nonterminal" x="53" y="251">join_type</text>
  40. <rect x="143" y="233" width="52" height="32" rx="10"/>
  41. <rect x="141"
  42. y="231"
  43. width="52"
  44. height="32"
  45. class="terminal"
  46. rx="10"/>
  47. <text class="terminal" x="151" y="251">JOIN</text>
  48. <rect x="215" y="233" width="78" height="32"/>
  49. <rect x="213" y="231" width="78" height="32" class="nonterminal"/>
  50. <text class="nonterminal" x="223" y="251">table_ref</text>
  51. <rect x="333" y="233" width="64" height="32" rx="10"/>
  52. <rect x="331"
  53. y="231"
  54. width="64"
  55. height="32"
  56. class="terminal"
  57. rx="10"/>
  58. <text class="terminal" x="341" y="251">USING</text>
  59. <rect x="417" y="233" width="26" height="32" rx="10"/>
  60. <rect x="415"
  61. y="231"
  62. width="26"
  63. height="32"
  64. class="terminal"
  65. rx="10"/>
  66. <text class="terminal" x="425" y="251">(</text>
  67. <rect x="483" y="233" width="64" height="32"/>
  68. <rect x="481" y="231" width="64" height="32" class="nonterminal"/>
  69. <text class="nonterminal" x="491" y="251">col_ref</text>
  70. <rect x="483" y="189" width="24" height="32" rx="10"/>
  71. <rect x="481"
  72. y="187"
  73. width="24"
  74. height="32"
  75. class="terminal"
  76. rx="10"/>
  77. <text class="terminal" x="491" y="207">,</text>
  78. <rect x="607" y="265" width="40" height="32" rx="10"/>
  79. <rect x="605"
  80. y="263"
  81. width="40"
  82. height="32"
  83. class="terminal"
  84. rx="10"/>
  85. <text class="terminal" x="615" y="283">AS</text>
  86. <rect x="667" y="265" width="120" height="32"/>
  87. <rect x="665" y="263" width="120" height="32" class="nonterminal"/>
  88. <text class="nonterminal" x="675" y="283">join_using_alias</text>
  89. <rect x="827" y="233" width="26" height="32" rx="10"/>
  90. <rect x="825"
  91. y="231"
  92. width="26"
  93. height="32"
  94. class="terminal"
  95. rx="10"/>
  96. <text class="terminal" x="835" y="251">)</text>
  97. <rect x="333" y="309" width="40" height="32" rx="10"/>
  98. <rect x="331"
  99. y="307"
  100. width="40"
  101. height="32"
  102. class="terminal"
  103. rx="10"/>
  104. <text class="terminal" x="341" y="327">ON</text>
  105. <rect x="393" y="309" width="92" height="32"/>
  106. <rect x="391" y="307" width="92" height="32" class="nonterminal"/>
  107. <text class="nonterminal" x="401" y="327">expression</text>
  108. <rect x="793" y="375" width="94" height="32"/>
  109. <rect x="791" y="373" width="94" height="32" class="nonterminal"/>
  110. <text class="nonterminal" x="801" y="393">select_post</text>
  111. <path class="line"
  112. d="m17 17 h2 m0 0 h10 m96 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-146 66 l2 0 m2 0 l2 0 m2 0 l2 0 m42 0 h10 m68 0 h10 m0 0 h158 m-266 0 h20 m246 0 h20 m-286 0 q10 0 10 10 m266 0 q0 -10 10 -10 m-276 10 v24 m266 0 v-24 m-266 24 q0 10 10 10 m246 0 q10 0 10 -10 m-256 10 h10 m88 0 h10 m20 0 h10 m0 0 h88 m-118 0 h20 m98 0 h20 m-138 0 q10 0 10 10 m118 0 q0 -10 10 -10 m-128 10 v12 m118 0 v-12 m-118 12 q0 10 10 10 m98 0 q10 0 10 -10 m-108 10 h10 m78 0 h10 m40 -76 h10 m52 0 h10 m0 0 h10 m78 0 h10 m0 0 h392 m-868 0 h20 m848 0 h20 m-888 0 q10 0 10 10 m868 0 q0 -10 10 -10 m-878 10 v144 m868 0 v-144 m-868 144 q0 10 10 10 m848 0 q10 0 10 -10 m-858 10 h10 m78 0 h10 m0 0 h10 m52 0 h10 m0 0 h10 m78 0 h10 m20 0 h10 m64 0 h10 m0 0 h10 m26 0 h10 m20 0 h10 m64 0 h10 m-104 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m84 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-84 0 h10 m24 0 h10 m0 0 h40 m40 44 h10 m0 0 h190 m-220 0 h20 m200 0 h20 m-240 0 q10 0 10 10 m220 0 q0 -10 10 -10 m-230 10 v12 m220 0 v-12 m-220 12 q0 10 10 10 m200 0 q10 0 10 -10 m-210 10 h10 m40 0 h10 m0 0 h10 m120 0 h10 m20 -32 h10 m26 0 h10 m-560 0 h20 m540 0 h20 m-580 0 q10 0 10 10 m560 0 q0 -10 10 -10 m-570 10 v56 m560 0 v-56 m-560 56 q0 10 10 10 m540 0 q10 0 10 -10 m-550 10 h10 m40 0 h10 m0 0 h10 m92 0 h10 m0 0 h368 m42 -240 l2 0 m2 0 l2 0 m2 0 l2 0 m-144 306 l2 0 m2 0 l2 0 m2 0 l2 0 m2 0 h10 m94 0 h10 m3 0 h-3"/>
  113. <polygon points="905 389 913 385 913 393"/>
  114. <polygon points="905 389 897 385 897 393"/>
  115. </svg>