{"blog_title":"Bye Bye Moore","provider_name":"Hatena Blog","type":"rich","url":"https://shuzo-kino.hateblo.jp/entry/2016/12/10/231559","author_url":"https://blog.hatena.ne.jp/shuzo_kino/","published":"2016-12-10 23:15:59","categories":[],"image_url":null,"author_name":"shuzo_kino","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2016%2F12%2F10%2F231559\" title=\"postgres\u3067\u6570\u5024\u3092\u6587\u5b57\u5217\u5316\u3059\u308b - Bye Bye Moore\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","version":"1.0","description":"postgres\u3067\u6570\u5024\u3092\u6574\u5f62\u3059\u308b\u306b\u306f\u7a7a\u6587\u5b57\u5217\u3068\u304f\u3063\u3064\u3051\u308b\u65b9\u6cd5\u3084to_char\u95a2\u6570\u304c\u4f7f\u3048\u307e\u3059\u3002 \u5b9f\u969b\u306e\u3068\u3053\u308d \u6587\u5b57\u5217\u3068\u304f\u3063\u3064\u3051\u308b \u7a7a\u6587\u5b57\u5217\u3068\u304f\u3063\u3064\u3051\u308b\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u3002 \u5358\u7d14\u306b\u6587\u5b57\u5316\u3057\u305f\u3044\u3060\u3051\u306a\u3089\u3001\u3053\u308c\u304c\u697d\u3067\u3057\u3087\u3046\u3002 SELECT ('' || 12) AS i; i ---- 12 (1 row)\u3068\u3044\u3046\u308f\u3051\u3067\u3001\u4ee5\u524d\u306e\u8a18\u4e8b\u3092\u3061\u3083\u3093\u3068\u6570\u5024\u3092\u51fa\u3059\u3068\u6210\u308b\u3068\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 SELECT a, CASE WHEN a % 15 = 0 THEN 'FizzBuzz' when a % 3 = 0 then 'Fizzz' WHEN a % 5 = 0 THEN 'Buzz' ELSE '' || a \u2026","blog_url":"https://shuzo-kino.hateblo.jp/","title":"postgres\u3067\u6570\u5024\u3092\u6587\u5b57\u5217\u5316\u3059\u308b","provider_url":"https://hatena.blog"}