{"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/A/AJYA/20220613/20220613234259.jpg","blog_url":"https://ajya.hatenablog.jp/","provider_name":"Hatena Blog","version":"1.0","url":"https://ajya.hatenablog.jp/entry/2022/06/13/234500","author_name":"AJYA","provider_url":"https://hatena.blog","height":"190","title":"SQL\uff1aCASE types text and date cannot be matched\u306e\u539f\u56e0\u3068\u5bfe\u7b56","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fajya.hatenablog.jp%2Fentry%2F2022%2F06%2F13%2F234500\" title=\"SQL\uff1aCASE types text and date cannot be matched\u306e\u539f\u56e0\u3068\u5bfe\u7b56 - \u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u8005\u306e\u65e5\u5e38\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2022-06-13 23:45:00","width":"100%","description":"\u624b\u6301\u3061\u306e\u30c7\u30fc\u30bf\u3092SQL\u3067\u52a0\u5de5\u3057\u3066\u3044\u3066\u3001\u300cCASE types text and date cannot be matched\u300d\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002 CASE types text and date cannot be matched\u306e\u539f\u56e0 PostgreSQL\u306b\u4fdd\u5b58\u3055\u308c\u3066\u3044\u308b\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u305f\u3081\u306b\u3001 SELECT name , url , CASE WHEN start_date = end_date THEN start_date ELSE to_char(start_date, 'YYYY/MM/DD') || '\uff5e' || to_char(end_date, 'YYYY/MM/D\u2026","blog_title":"\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u8005\u306e\u65e5\u5e38","categories":["SQL","PostgreSQL"],"author_url":"https://blog.hatena.ne.jp/AJYA/"}