<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>amamanamam</author_name>
  <author_url>https://blog.hatena.ne.jp/amamanamam/</author_url>
  <blog_title>amamanamam</blog_title>
  <blog_url>https://amamanamam.hatenablog.com/</blog_url>
  <categories>
    <anon>テーブル設計</anon>
  </categories>
  <description>statusカラムと題に載せているが、複数の定数を選択肢として持つような所謂enum型のカラムに関することを述べていく（statusという名で定義されることが多いような気がしたので） そのようなstatus系のカラムは楽で便利が故によく提案されると思うのだが、追加する前にちょっと整理・考慮しておきたい点がある。 因みにアンチstatusカラムという訳ではなく、メリデメをしっかり議論されていればOKな立ち位置なのである そのカラムを使ってどのようなSQLを構成する予定か まずはstatusカラムを使ってどのようなSQLを書く予定があげてみよう。 意外にもそのカラム追加によってSQLパフォーマンス…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Famamanamam.hatenablog.com%2Fentry%2F2023%2F09%2F21%2F192858&quot; title=&quot;statusカラムを用意する前に考えたいことは....の話 - amamanamam&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>2023-09-21 19:28:58</published>
  <title>statusカラムを用意する前に考えたいことは....の話</title>
  <type>rich</type>
  <url>https://amamanamam.hatenablog.com/entry/2023/09/21/192858</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
