ควิซ Subqueries & Window Functions

Go past single SELECTs: subqueries, EXISTS, CTEs and window functions for rankings, running totals and row-to-row comparisons.

ระดับกลาง 5 ควิซ · 50 ข้อ ประมาณ 34 นาที
0/5ผ่าน สอบประจำหมวด 20 ข้อคละกัน ได้ 80% รับใบประกาศ
แท็ก:
1 Subqueries ปานกลาง Put a query inside a query and predict what scalar, IN, derived-table and correlated subqueries return. #subqueries#correlated-subqueries 10 ข้อ · ~6 นาที ยังไม่เริ่ม เริ่ม
2 EXISTS vs IN ปานกลาง Choose between EXISTS and IN, and avoid the NOT IN trap that returns nothing when a NULL sneaks in. #subqueries#null-handling 10 ข้อ · ~6 นาที ยังไม่เริ่ม เริ่ม
3 Common Table Expressions (WITH) ปานกลาง Name intermediate results with WITH and generate rows or walk hierarchies with recursive CTEs. #cte#recursive-cte 10 ข้อ · ~6 นาที ยังไม่เริ่ม เริ่ม
4 ROW_NUMBER, RANK & DENSE_RANK ยาก Number and rank rows with window functions and know exactly how each one treats ties. #window-functions#ranking 10 ข้อ · ~8 นาที ยังไม่เริ่ม เริ่ม
5 Running Totals, LAG & LEAD ยาก Build running totals, moving averages and row-to-row comparisons with window frames, LAG and LEAD. #window-functions#running-totals 10 ข้อ · ~8 นาที ยังไม่เริ่ม เริ่ม