SQL Challenges: Scenario Based Data Challenges With Solutions
SQL Challenges: Scenario Based Data Challenges With Solutions
FREE
SAMP
LE
SQL
CHALLENGES
Scenario based data challenges with solutions
Rajanand Ilangovan
download.rajanand.org
[email protected] 17 Feb 2023
Table of Contents
SQL CHALLENGES
Prepared by Rajanand Ilangovan
Question:
The Indian Premier League (IPL) is planning to start
a new T10 series and want to launch a pilot quickly.
The management wants to select the players into
three teams randomly instead of auction.
SQL CHALLENGES
Prepared by Rajanand Ilangovan
Question:
You have two tables called players and score_details.
The player table contains player detail and
score_details table contains each innings the players
have played and runs scored.
SQL CHALLENGES
Prepared by Rajanand Ilangovan
Question:
You are planning to go for a summer vacation and
decided on the cities you want to visit. But you have
not finalized in which order you want to visit them
yet.
SQL CHALLENGES
Prepared by Rajanand Ilangovan
Question:
You have an orders table with orders details. You
have to ungroup the data based on the order
quantity. The amount column in the output should be
an amount of a single quantity.
SQL CHALLENGES
Prepared by Rajanand Ilangovan
Question:
There is a retail company in US which majorly serves
customers in US, UK and Canada. They want the
shipping country drop down in the web application to
list the countries in the below order.
US, UK, Canada and rest of the countries they serve
in ascending order.
Write an SQL query to sort the dropdown country
value in custom order.
FRE
with E sam
solu ple
tion
s
Interested in solution?
DOWNLOAD NOW
link.rajanand.org/sql-challenges