SQL 道场

SQL WORKBENCH

M7 · 难度 4

漏斗各步人数

Browser Postgres · Judge enabled

Prompt

统计漏斗各步的去重用户数:分别有多少用户做过 view / cart / purchase。输出三列 view_users、cart_users、purchase_users。

SQL Editor

Write, run, inspect, repeat.