こんにちは。スーパーソフトウエア東京オフィス 技術部の加藤です。 開発現場では、ログの分析や障害調査、ちょっとしたデータ集計を Excel を駆使して対応することが少なくありません。 本来であればデータベースに格納して SQL で集計したいところです ...
前回はWindow関数を扱いました。 今回はPivotで縦型、横型のデータにしていく方法を見ていきましょう。 分析の初期段階では、観測値が行として積み重なる「縦長(ロング)」の形が扱いやすいことが多い一方、機械学習の特徴量やレポート用の表としては ...
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 ...
Sqliteviz allows building pivot tables and visualizing them. To build a pivot run a query to get data. Then open visualisation panel by clicking in any of the two side toolbars and choose a pivot mode ...