Interview questions
Predict the result, find the errors, explain the solution. You can read the questions without an account.
14 questions
How does
AVGhandleNULL?Predict the resultWhat does
NOT INreturn when a subquery containsNULL?Predict the resultWill
city = 'Berlin'andcity <> 'Berlin'include every customer?Predict the resultWho does
ORDER BY salary DESC LIMIT 1return?Predict the resultFind the bugs: paid orders excluding the test account
Find the errorsFind the bugs: categorizing events by user
Find the errorsWhat does
GREATESTreturn for two employee salaries?Predict the resultHow many paying customers does
COUNT DISTINCT CASEcount?Predict the resultWhat do the two window calculations return for the city values?
Predict the resultWhich values remain after
EXCEPT ALL?Predict the resultFind the bugs: matching values from two sources
Find the errors