<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yhhuang</author_name>
  <author_url>https://blog.hatena.ne.jp/yhhuang/</author_url>
  <blog_title>REVISIO Tech Blog</blog_title>
  <blog_url>https://tech.revisio.co.jp/</blog_url>
  <categories>
  </categories>
  <description>はじめに こんにちは、データアナリティクスチームのHuangです。 SQL関連について記事を書きました。 データの抽出となるとSQLはほぼ毎日のように使われている言語ではありますが、実際の仕事現場では教科書に載っているようなケースがほとんど存在してません。実際の業務では教科書には載っていないような要件が多くあり、印象に残っているケースがあります。 その中でも印象的なものを要件と解決方法について例を交えながら紹介していきます。 背景 膨大なデータを集計するときに、GROUP BY文はよく使われます。 例えばこのテーブルがあるとします。 とあるチェーン店のデータベースに、ある会員が登録した店舗の情…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.revisio.co.jp%2Fentry%2F2022%2F01%2F21%2F165520&quot; title=&quot;SQL: 組み合わせにビット演算を使ったGROUP BY - REVISIO Tech Blog&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>2022-01-21 16:55:20</published>
  <title>SQL: 組み合わせにビット演算を使ったGROUP BY</title>
  <type>rich</type>
  <url>https://tech.revisio.co.jp/entry/2022/01/21/165520</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
