21 Advanced Analytics questions from the SQL bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.
Free to start: the 2-minute IT readiness check — six questions and a result.
A.the part of a window definition that uses ROWS or RANGE to bound which surrounding rows the calculation includes
B.a function that distributes the partition's rows into a specified number of roughly equal buckets and labels each row with its bucket number
C.a reusable window specification declared once in a WINDOW clause and referenced by name across several functions
D.a function that returns the value from the first row of the current window frame
Answer + AI explanation with Pro
2. Which term means: "the part of a window definition that uses ROWS or RANGE to bound which surrounding rows the calculation includes"?
Senior
A.PERCENT_RANK
B.Window frame clause
C.FIRST_VALUE
D.CUME_DIST
Answer + AI explanation with Pro
3. Which statement is correct?
Senior
A.Window frame clause — the part of a window definition that uses ROWS or RANGE to bound which surrounding rows the calculation includes
B.Window frame clause — a reusable window specification declared once in a WINDOW clause and referenced by name across several functions
C.Window frame clause — the implicit RANGE bound from the partition start through the current row and its peers used when no explicit frame is written with an ORDER BY
D.Window frame clause — a function giving the relative rank of a row as its rank minus one divided by the number of partition rows minus one
Answer + AI explanation with Pro
4. What is NTILE?
Mid
A.the part of a window definition that uses ROWS or RANGE to bound which surrounding rows the calculation includes
B.a function that returns the value from the first row of the current window frame
C.a reusable window specification declared once in a WINDOW clause and referenced by name across several functions
D.a function that distributes the partition's rows into a specified number of roughly equal buckets and labels each row with its bucket number
Answer + AI explanation with Pro
5. Which term means: "a function that distributes the partition's rows into a specified number of roughly equal buckets and labels each row with its bucket number"?
Mid
A.Named window
B.NTILE
C.PERCENT_RANK
D.Default window frame
Answer + AI explanation with Pro
6. Which statement is correct?
Mid
A.NTILE — the part of a window definition that uses ROWS or RANGE to bound which surrounding rows the calculation includes
B.NTILE — a function that returns the value from the first row of the current window frame
C.NTILE — the implicit RANGE bound from the partition start through the current row and its peers used when no explicit frame is written with an ORDER BY
D.NTILE — a function that distributes the partition's rows into a specified number of roughly equal buckets and labels each row with its bucket number
Answer + AI explanation with Pro
7. What is FIRST_VALUE?
Mid
A.a function that returns the value from the first row of the current window frame
B.a reusable window specification declared once in a WINDOW clause and referenced by name across several functions
C.a function that distributes the partition's rows into a specified number of roughly equal buckets and labels each row with its bucket number
D.the implicit RANGE bound from the partition start through the current row and its peers used when no explicit frame is written with an ORDER BY
Answer + AI explanation with Pro
8. Which term means: "a function that returns the value from the first row of the current window frame"?
Mid
A.Window frame clause
B.FIRST_VALUE
C.CUME_DIST
D.Default window frame
Answer + AI explanation with Pro
9. Which statement is correct?
Mid
A.FIRST_VALUE — a function giving the relative rank of a row as its rank minus one divided by the number of partition rows minus one
B.FIRST_VALUE — a function giving the cumulative distribution, the fraction of partition rows with a value less than or equal to the current row
C.FIRST_VALUE — a reusable window specification declared once in a WINDOW clause and referenced by name across several functions
D.FIRST_VALUE — a function that returns the value from the first row of the current window frame
Answer + AI explanation with Pro
10. What is CUME_DIST?
Senior
A.a function that distributes the partition's rows into a specified number of roughly equal buckets and labels each row with its bucket number
B.a function giving the cumulative distribution, the fraction of partition rows with a value less than or equal to the current row
C.a reusable window specification declared once in a WINDOW clause and referenced by name across several functions
D.the part of a window definition that uses ROWS or RANGE to bound which surrounding rows the calculation includes
Answer + AI explanation with Pro
11. Which term means: "a function giving the cumulative distribution, the fraction of partition rows with a value less than or equal to the current row"?
Senior
A.Default window frame
B.Named window
C.FIRST_VALUE
D.CUME_DIST
Answer + AI explanation with Pro
12. Which statement is correct?
Senior
A.CUME_DIST — a function giving the cumulative distribution, the fraction of partition rows with a value less than or equal to the current row
B.CUME_DIST — the implicit RANGE bound from the partition start through the current row and its peers used when no explicit frame is written with an ORDER BY
C.CUME_DIST — a function that returns the value from the first row of the current window frame
D.CUME_DIST — a function giving the relative rank of a row as its rank minus one divided by the number of partition rows minus one
Answer + AI explanation with Pro
13. What is PERCENT_RANK?
Senior
A.the part of a window definition that uses ROWS or RANGE to bound which surrounding rows the calculation includes
B.the implicit RANGE bound from the partition start through the current row and its peers used when no explicit frame is written with an ORDER BY
C.a function giving the relative rank of a row as its rank minus one divided by the number of partition rows minus one
D.a function that returns the value from the first row of the current window frame
Answer + AI explanation with Pro
14. Which term means: "a function giving the relative rank of a row as its rank minus one divided by the number of partition rows minus one"?
Senior
A.CUME_DIST
B.Named window
C.PERCENT_RANK
D.FIRST_VALUE
Answer + AI explanation with Pro
15. Which statement is correct?
Senior
A.PERCENT_RANK — the implicit RANGE bound from the partition start through the current row and its peers used when no explicit frame is written with an ORDER BY
B.PERCENT_RANK — a function that distributes the partition's rows into a specified number of roughly equal buckets and labels each row with its bucket number
C.PERCENT_RANK — a function giving the relative rank of a row as its rank minus one divided by the number of partition rows minus one
D.PERCENT_RANK — a reusable window specification declared once in a WINDOW clause and referenced by name across several functions
Answer + AI explanation with Pro
16. What is Default window frame?
Senior
A.a reusable window specification declared once in a WINDOW clause and referenced by name across several functions
B.the implicit RANGE bound from the partition start through the current row and its peers used when no explicit frame is written with an ORDER BY
C.the part of a window definition that uses ROWS or RANGE to bound which surrounding rows the calculation includes
D.a function that distributes the partition's rows into a specified number of roughly equal buckets and labels each row with its bucket number
Answer + AI explanation with Pro
17. Which term means: "the implicit RANGE bound from the partition start through the current row and its peers used when no explicit frame is written with an ORDER BY"?
Senior
A.CUME_DIST
B.Default window frame
C.PERCENT_RANK
D.FIRST_VALUE
Answer + AI explanation with Pro
18. Which statement is correct?
Senior
A.Default window frame — the part of a window definition that uses ROWS or RANGE to bound which surrounding rows the calculation includes
B.Default window frame — a function giving the relative rank of a row as its rank minus one divided by the number of partition rows minus one
C.Default window frame — a function that returns the value from the first row of the current window frame
D.Default window frame — the implicit RANGE bound from the partition start through the current row and its peers used when no explicit frame is written with an ORDER BY
Answer + AI explanation with Pro
19. What is Named window?
Mid
A.a function that distributes the partition's rows into a specified number of roughly equal buckets and labels each row with its bucket number
B.the part of a window definition that uses ROWS or RANGE to bound which surrounding rows the calculation includes
C.a reusable window specification declared once in a WINDOW clause and referenced by name across several functions
D.a function that returns the value from the first row of the current window frame
Answer + AI explanation with Pro
20. Which term means: "a reusable window specification declared once in a WINDOW clause and referenced by name across several functions"?
Mid
A.Named window
B.Window frame clause
C.FIRST_VALUE
D.CUME_DIST
Answer + AI explanation with Pro
21. Which statement is correct?
Mid
A.Named window — a function that distributes the partition's rows into a specified number of roughly equal buckets and labels each row with its bucket number
B.Named window — a reusable window specification declared once in a WINDOW clause and referenced by name across several functions
C.Named window — the implicit RANGE bound from the partition start through the current row and its peers used when no explicit frame is written with an ORDER BY
D.Named window — a function that returns the value from the first row of the current window frame
Answer + AI explanation with Pro
Free to start
Start with a free readiness check
Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Advanced Analytics question come with Pro.