<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>daisuke-m</author_name>
  <author_url>https://blog.hatena.ne.jp/daisuke-m/</author_url>
  <blog_title>都元ダイスケ IT-PRESS</blog_title>
  <blog_url>https://daisuke-m.hatenablog.com/</blog_url>
  <categories>
    <anon>database</anon>
  </categories>
  <description>リレーショナルモデルで「式*1」を格納したい場合、というのは難しいですよね。例えば以下の様に。こんなイメージのテーブルがあって、こんなSQLを飛ばすとこんな感じで返ってくるようなテーブル設計ですね。 TABLE t_value value_id value a 30 b 2 c false d 16 e true 普通のテーブルです。いや、valueカラムに数値型とBOOL型が混在していますが、まぁイメージということで。 TABLE t_formula formula_id formula 1 (a+b)/d 2 sqrt(d)*2 3 !(c OR e) formula中のaとかbとかが、t…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdaisuke-m.hatenablog.com%2Fentry%2F20070526%2F1180157592&quot; title=&quot;「式」を格納するスキーマ - 都元ダイスケ IT-PRESS&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>2007-05-26 14:33:12</published>
  <title>「式」を格納するスキーマ</title>
  <type>rich</type>
  <url>https://daisuke-m.hatenablog.com/entry/20070526/1180157592</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
