{"id":979,"date":"2024-04-16T04:11:04","date_gmt":"2024-04-15T19:11:04","guid":{"rendered":"http:\/\/inwelly.com\/?p=979"},"modified":"2024-05-01T02:24:55","modified_gmt":"2024-04-30T17:24:55","slug":"oracle-decode-if-else-%ed%95%a8%ec%88%98%ec%9e%84-case-when-%eb%8f%99%ec%9d%bc","status":"publish","type":"post","link":"https:\/\/inwelly.com\/?p=979","title":{"rendered":"ORACLE DECODE () &#8211; if else \ud568\uc218\uc784 ( CASE WHEN \ub3d9\uc77c )"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>select test_colm from TEST_TABLE<\/p>\n\n\n\n<p>1<\/p>\n\n\n\n<p>2<\/p>\n\n\n\n<p>3<\/p>\n\n\n\n<p>1<\/p>\n\n\n\n<p>2<\/p>\n\n\n\n<p>0<\/p>\n\n\n\n<p>select test_colm , DECODE(test_colm,&#8217;1&#8242;,&#8217;\uc5ec\uc790&#8217;,&#8217;2&#8242;,&#8217;\ub0a8\uc790&#8217;,&#8217;\uae30\ud0c0&#8217;) as gender from TEST_TABLE<\/p>\n\n\n\n<p>1 \uc5ec\uc790<\/p>\n\n\n\n<p>2 \ub0a8\uc790<\/p>\n\n\n\n<p>3 \uae30\ud0c0<\/p>\n\n\n\n<p>1 \uc5ec\uc790<\/p>\n\n\n\n<p>2 \ub0a8\uc790<\/p>\n\n\n\n<p>0 \uae30\ud0c0<\/p>\n\n\n\n<p>select test_colm , DECODE(test_colm,&#8217;1&#8242;,&#8217;\uc5ec\uc790&#8217;,&#8217;2&#8242;,&#8217;\ub0a8\uc790&#8217;) as gender from TEST_TABLE<\/p>\n\n\n\n<p>1 \uc5ec\uc790<\/p>\n\n\n\n<p>2 \ub0a8\uc790<\/p>\n\n\n\n<p>3<\/p>\n\n\n\n<p>1 \uc5ec\uc790<\/p>\n\n\n\n<p>2 \ub0a8\uc790<\/p>\n\n\n\n<p>0<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>select test_colm from TEST_TABLE 1 2 3 1 2 0 select test_colm , DECODE(test_colm,&#8217;1&#8242;,&#8217;\uc5ec\uc790&#8217;,&#8217;2&#8242;,&#8217;\ub0a8\uc790&#8217;,&#8217;\uae30\ud0c0&#8217;) as gender from TEST_TABLE 1 \uc5ec\uc790 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1707,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[107],"tags":[],"class_list":["post-979","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-etc"],"_links":{"self":[{"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/posts\/979","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/inwelly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=979"}],"version-history":[{"count":1,"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/posts\/979\/revisions"}],"predecessor-version":[{"id":980,"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/posts\/979\/revisions\/980"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/media\/1707"}],"wp:attachment":[{"href":"https:\/\/inwelly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=979"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/inwelly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=979"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/inwelly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}