CodeZine編集部では、現場で活躍するデベロッパーをスターにするためのカンファレンス「Developers Summit」や、エンジニアの生きざまをブーストするためのイベント「Developers Boost」など、さまざまなカンファレンスを企画・運営しています。 講演資料・動画 ...
表記件、Teradataで横持ちテーブルを縦持ちにする際の関数、反対に縦持ちテーブルを横持ちにする際の関数を使ってみました。まずは以下のような横持ちテーブルを用意します。 作成SQLは以下の通りです。 続いて、縦持ちされたデータを横持ちに戻します。
今回は、Oracle Analytics Cloudを活用して、列に属性とメジャーが混合しているようなデータに対する加工方法をご紹介したいと思います。 使用するのは、関東圏(茨城県、栃木県、群馬県、埼玉県、千葉県、東京都、神奈川県)における、2023年のバナナの売上 ...
翔泳社では、「独習」「徹底入門」「スラスラわかる」「絵で見てわかる」「一年生」などの人気シリーズをはじめ、言語や開発手法、最新技術を解説した書籍を多数手がけています。プロジェクトマネジメントやチームビルティングといった管理職向けの ...
You can pivot data in SQL Data Warehouse by using a CASE statement. This article contains two simple examples on how to both pivot and unpivot a table without using the pivot and unpivot syntax found ...
Background: I was creating a data quality dashboard in Tableau and I needed to pivot the data. Unfortunately the data source was SAP HANA, so I did not have PIVOT/UNPIVOT operators... and even if I ...
With the new Get & Transform capabilities in Excel 2016, you can now import, transform and combine data from different sources—thanks to the integrated Power Query technology in Excel. Today we are ...