Interview questions
Predict the result, find the errors, explain the solution. You can read the questions without an account.
15 questions
How many rows does a
FULL JOINreturn?Predict the resultWhat happens to
SUMafter aJOINwith order line items?Predict the resultWhich departments will this query identify as having no employees?
Predict the resultFind the bugs: count paid orders for every customer
Find the errorsFind the bugs: count orders and units purchased by customer
Find the errorsFind the bugs: total units purchased by each customer
Find the errorsHow many rows will two consecutive
LEFT JOINoperations produce?Predict the resultWhich paid orders remain after excluding orders containing
pen?Predict the resultHow many
login-to-viewpairs will a join create for each user?Predict the resultFind the bugs: counting line items in a customer's orders
Find the errorsFind the bugs: customers with three different products
Find the errors