Subqueries & Window Functions Quiz

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 मिनट शुरू नहीं किया शुरू करें