Question: Technical Assessment - Business System Analyst The questions below are to test your knowledge of SQL databases and ability to write reporting queries, while understanding
Technical Assessment - Business System Analyst
The questions below are to test your knowledge of SQL databases and ability to write reporting queries, while understanding the data and paying attention to data quality.
- You are presented with a Company Sales database comprised of the following tables: the tables contain the following data. Namely:
| Products table
| Salesperson table
| |||||||||||||||||||||||||||||||||||
| Customers table
| Geographic Location table
| |||||||||||||||||||||||||||||||||||
| Orders table
|
Question 1.1: Based on the relationships defined, write a query that shows the total sales amount after discount by each salesperson for each product.
Question 1.2: Based on the relationships defined, write a query that shows all the products ordered by North America customer, including number of units and total sales amount after discount
Question 1.3: Based on the relationships defined, write a query that shows the top 2 highest total sales amount after discount with company by each product.
Question 1.4: Based on the relationships defined, write a query that shows the total profit amount in dollars and as a percentage, made on all the sales of Charts by Continent, Country and salesperson. Also include number of units, total cost amount and total sales amount after discount in you code.
- A store owner has collected information on sales from the 3 stores he owns for 10 years. The Data Dictionary is shown below
Transaction Code | Unique transaction ID |
Store Number | Unique Store Number |
Client ID | Unique Client ID |
Item ID | Unique Item ID |
Item Quantity | Number of Items bought together |
Item Price | Price of a Single Item |
Date and Time of Purchase | Timestamp of the Purchase |
Payment Method | Cash, Credit Card, Debit Card, Cheque |
What information or analysis can be performed with the information provided
that might generate value to the business.
Assumption: a transaction code entitles the purchase of a single type of item
- What will be the query in SQL if I wish to return all the records when there is a match in any of the tables?
- Write a SQL query to get the third highest salary of a female employee older than 30 from Employee_Details table as illustrated below.
Employee_Id | EmployeeName | Employee_Age | EmployeeGender | EmployeeSalary |
1 | Bob | 23 | Male | 40,000 |
2 | Julia | 35 | Female | 25,000 |
3 | Jonathan | 31 | Male | 18,000 |
4 | Alice | 29 | Female | 48,000 |
5 | Ricardo | 32 | Male | 15,000 |
6 | Stacy | 33 | Female | 45,000 |
7 | Jennifer | 30 | Female | 37,000 |
8 | Alison | 43 | Male | 27,000 |
9 | Julio | 28 | Male | 30,000 |
10 | Estela | 35 | Female | 46,000 |
- Using the table above, can you create a graphical representation of the data? This could be done in Excel or any other tool and transfer it over.
- How would you estimate how many tourists buy shoes in New York every July?
- What metrics do you use to determine if a project is progressing on track?
- During analysis, how do you treat missing values?
- What are the various steps involved in an analytics project?
- Can you mention a few issues that data analyst usually encounters while analysing the data?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
