<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>asakusabashi</author_name>
  <author_url>https://blog.hatena.ne.jp/asakusabashi/</author_url>
  <blog_title>浅草橋クロニクル</blog_title>
  <blog_url>https://asakusabashi.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>SQLの条件記述ミスは、テストで発見できず、重大な問題(他の人のデータが覗けるなど)を引き起こすことがままあります。 この原因は、テストのカバレッジが足りていないことにあります。SQLを呼び出す側のカバレッジ計測に関して、いくらC1(判定条件網羅), C2(条件網羅)だといっても、SQLの中の条件文は測れません。 そこで、SQLのカバレッジについて考えてみたいと思います。*1 SELECT count(*) FROM emp E, dept D WHERE E.dept_cd=D.dept_cd AND E.salary &gt; 300000 AND D.delete_flg = '0'というSQ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fasakusabashi.hatenadiary.org%2Fentry%2F20050825%2Fp1&quot; title=&quot;SQLのカバレッジ - 浅草橋クロニクル&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>2005-08-25 00:00:00</published>
  <title>SQLのカバレッジ</title>
  <type>rich</type>
  <url>https://asakusabashi.hatenadiary.org/entry/20050825/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
