0% found this document useful (1 vote)
141 views3 pages

Game Data Analyst SQL Test Guide

The document contains questions for a game data analyst test. It asks the applicant to analyze player retention, spending habits, levels replayed, and number of players having multiple sessions using SQL queries on provided datasets. It also asks SQL questions involving employee salaries, user counts, and database normalization. Finally, it asks the applicant to perform k-means clustering in R on an in-app purchase dataset to segment spenders to increase game revenue.

Uploaded by

student login
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
141 views3 pages

Game Data Analyst SQL Test Guide

The document contains questions for a game data analyst test. It asks the applicant to analyze player retention, spending habits, levels replayed, and number of players having multiple sessions using SQL queries on provided datasets. It also asks SQL questions involving employee salaries, user counts, and database normalization. Finally, it asks the applicant to perform k-means clustering in R on an in-app purchase dataset to segment spenders to increase game revenue.

Uploaded by

student login
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Game Data Analyst Test

PART A
Write the sql code for the below questions and also try to take out at least two answers in excel
as well.

Q1: From the given Dataset, determine and analyze Day 1, Day 3, Day 7, Day 15 and Day 30
Retention. (Refer to Session start tab)
Q2: After which level do most players start spending money? (Spenders tab)
Q3: Identify packs which generate the most revenue and the ones which are bought the most?
(Spenders tab)

Q4: Which levels are being replayed by the players the most in the month of July’17? (Level
Start tab)
Q5: In India, how many players are playing more than 5 sessions? (Session Start tab)

PART B
Q1: Consider a table with columns employee, month, year and salary. Write a query for getting
the cumulative salary for each employee within each year
Column in yellow should be your output
Employee Month Year Salary Cum Sal
A Jan 2016 2000 2000
A Feb 2016 2000 4000
A Mar 2016 2000 6000
A Apr 2016 3000 9000
A May 2016 3000 12000
A Jun 2016 3000 15000
A Jul 2016 3000 18000
A Aug 2016 3000 21000
A Sep 2016 3000 24000
A Oct 2016 3000 27000
A Nov 2016 3000 30000
A Dec 2016 3000 33000
A Jan 2017 3000 3000
A Feb 2017 3000 6000
A Mar 2017 3000 9000
A Apr 2017 5000 14000
A May 2017 5000 19000
A Jun 2017 5000 24000
A Jul 2017 5000 29000
A Aug 2017 5000 34000

Q2: Write the SQL query for following output?


Generic Table:

User
A
A
A
B
B
C

Required Output

User Count Sequence


A 3 A,A,A
B 2 B,B
C 1 C

Q3: Consider the two tables:

a) Write a query to get the country from which the maximum orders are being placed.
b) Write a query for list of customers who have made at least two purchases
c) Write a query for the count of customers who haven’t made a single purchase

Q4: Difference between Normalization and Denormalization? (Single line difference)


Which would you like to prefer for the Query optimization?
PART C
Q1: Refer to the attached dataset (Analytics Test [Link] (is) present in the Test file).
The database consist of spenders who bought different IAP (In App Purchase) pack in game.
a) Determine the appropriate number of clusters that should be created
b) Run k-means technique on the data in R and create segments such that we can increase
the revenue.

You might also like