<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>akira2kun</author_name>
  <author_url>https://blog.hatena.ne.jp/akira2kun/</author_url>
  <blog_title>技術とか戦略とか</blog_title>
  <blog_url>https://akira2kun.hatenablog.com/</blog_url>
  <categories>
    <anon>SQL</anon>
    <anon>情報処理技術者試験</anon>
  </categories>
  <description>今回は、select文の結果を結合する文法の紹介です。結果を結合するためには、集合演算子のUNION(重複排除したい場合はUNION ALL)を用います。実務では複数のselect文の結果を１回のSQL文発行で取得したいことが結構あるので、知っておくと便利です。情報処理技術者試験でも出題されることがあります。 ついでに、UNIONやUNION ALL以外の集合演算子についても紹介します。 【文法】select文集合演算子select文[集合演算子 select文…][order by…] ※集合演算子には以下のようなものがある・UNION 前後のselect文の結果を結合する。 重複する結果は…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fakira2kun.hatenablog.com%2Fentry%2F2018%2F09%2F19%2F233549&quot; title=&quot;情報処理技術者試験対策「select文の結果の結合等（集合演算子）」 - 技術とか戦略とか&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-09-19 23:35:49</published>
  <title>情報処理技術者試験対策「select文の結果の結合等（集合演算子）」</title>
  <type>rich</type>
  <url>https://akira2kun.hatenablog.com/entry/2018/09/19/233549</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
