{"author_url":"https://blog.hatena.ne.jp/unageanu/","author_name":"unageanu","version":"1.0","published":"2008-11-06 17:59:00","image_url":null,"title":" \u30bd\u30fc\u30c8\u6642\u306bNULL\u3092\u6700\u5c0f\u5024\u6271\u3044\u306b\u3059\u308b","blog_url":"https://unageanu.hatenablog.com/","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Funageanu.hatenablog.com%2Fentry%2F20081106%2F1225961940\" title=\" \u30bd\u30fc\u30c8\u6642\u306bNULL\u3092\u6700\u5c0f\u5024\u6271\u3044\u306b\u3059\u308b - \u3046\u306a\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","provider_url":"https://hatena.blog","url":"https://unageanu.hatenablog.com/entry/20081106/1225961940","width":"100%","provider_name":"Hatena Blog","description":"Unofficial DB2 BLOG - ORDER BY\u3067NULL\u3092\u6700\u5c0f\u306b\u6301\u3063\u3066\u304f\u308b\u306b\u306f\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u3044\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u3044\u3066\u3044\u305f\u306e\u3060\u3051\u3069\u3001 select * from A order by case when id is null then 0 else 1 end, id select\u306bdistinct\u3092\u3064\u3051\u308b\u3068\u30a8\u30e9\u30fc\u306b\u30fb\u30fb\u30fb\u3002 $ db2 \"select distinct * from A order by case when id is null then 0 else 1 end, id\" SQL0214N An expression in the ORDER BY cla\u2026","blog_title":"\u3046\u306a\u306e\u65e5\u8a18","categories":["DB2"]}