Interview questions
Predict the result, find the errors, explain the solution. You can read the questions without an account.
14 questions
What does
LAST_VALUEreturn with the default window frame?Predict the resultHow does
NTILE(4)split 10 rows?Predict the resultWill a query using
QUALIFYrun?Predict the resultFind the bugs: three-order moving average
Find the errorsFind the bugs: Count a user's earlier events
Find the errorsFind the bugs: Order number and total orders per customer
Find the errorsWhat does
RANKreturn when orders are grouped by status?Predict the resultWhich names will
NTH_VALUEreturn when ordered by hire date?Predict the result