Question: ( 5 marks ) Write a query to print the hacker _ id , name, and the number of distinct tasks each hacker participated in
marks Write a query to print the hackerid name, and the number of distinct tasks each hacker
participated in Sort the result by the number of tasks in descending order, and then by hackerid in ascending
order if theres a tie.
marks Write a query to find the taskid description, and the total bonus awarded for each task. Sort the
result by taskid in ascending order.
marks Write a query to list the submissionid hackerid name, and score of the highestscoring
submission for each task submitted on If multiple submissions have the highest score for the same
task, return the submission with the smallest submissionid Sort the result by taskid in ascending order.
marks Write a query to print the hackerid name, and the total score each hacker achieved across all
tasks. For each task, only the hacker's best score counts. Sort the result by totalscore in descending order and
by hackerid in ascending order if there's a tie.
marks Write a query to find the hackerid name, and bankaccount of hackers who did not participate in
any tasks.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
