データアナリストにとって、SQLのCOUNT関数は最も頻繁に使用する集計関数の一つです。しかし、一見シンプルに見えるCOUNTも、実際の業務では様々な使い方のパターンがあります。この記事では、初級者から中級者向けに、実用的なCOUNTのパターンを実際の ...
基礎編の連載も第3回となりました。前回は「データの型変換(CAST)」という、少しマニアックですが実務で必ず直面する罠の回避方法を学びましたね。 さて、私たちが普段PythonやC言語などのプログラミング言語を書くとき、当たり前のように使っている ...
Compares the equality of two expressions and guarantees a true or false result, even if one or both operands are NULL. Any valid expression. The expression can be a column, a constant, a function, a ...
This function returns the approximate number of unique non-null values in a group. :::image type="icon" source="../../includes/media/topic-link-icon.svg" border ...