問題タブ [distinct-on]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
2 に答える
25401 参照

sql - SQL: "DISTINCT ON (式)" は何をしますか?

仕組みはわかるのですDISTINCTが、わかりませんDISTINCT ON (expression)

このスクリーンショットの最初の例を見てください:

ここに画像の説明を入力

部品はすべてにどのよう(a % 2)に影響しますか? a % 2true と評価された場合はそれを返し、他のすべてのタプルについても同様に処理を続けますが、返された値が異なる場合にのみ返すと言っていますか?