Sunday, April 30, 2023
Highest Energy Consumption Pandas Intreview Question Ask by Meta/Facebook
Find the date with the highest total energy consumption from the Meta/Facebook data centers. Output the date along with the total energy consumption across all data centers.
Friday, April 28, 2023
Sales by Day of the Week|| ASK BY Walmart tech India
--Sales by Day of the Week
--ASK BY Walmart tech India
--You are the business owner and would like to obtain a sales report for category items and day of the week.
--Write an SQL query to report how many units in each category have been ordered on each day of the week.
Check out my solution:
Click here to download the script :
Tuesday, April 25, 2023
Average salary by Department Python #dataanalyst Interview Question Asked by Salesforce
Average salary by Department Python #dataanalyst interview Question Asked by Salesforce
Check out my video for the solution:
Sunday, April 23, 2023
LetCode SQL Game Analysis Problem
--Date 23-04-2023
--LetCode SQL Interview Series
--Que-1--Write an SQL query to report the first login date for each player.
--Que-2--Each row is a record of a player who logged in and played a number of games (possibly 0) before logging out on someday using some device. Write a SQL query that reports the device that is first logged in for each player
--Que-3--Write an SQL query that reports for each player and dates, how many games played so far by the player.
--That is the total number of games played by the player until that date. Check the example for clarity.
Que-4:
--Write an SQL query that reports the fraction of players that logged in again on the day after the day they first logged in, rounded to 2 decimal places. In other words, you need to count the number of players that logged in for at least two consecutive days starting from their first login date, then divide that number by the total number of players.
Check out the solution:
Thursday, April 20, 2023
Write an SQL query to report the distance traveled by each user.
--Write an SQL query to report the distance traveled by each user.
--Return the result table ordered by travelled_distance in descending order, if two or more users traveled the same distance,order them by their name in ascending order.
Solution:
Check out my video for the solution:
Subscribe to:
Posts (Atom)
"🚀 Delta Lake's Vectorized Delete: The Secret to 10x Faster Data Operations!"
"🚀 Delta Lake's Vectorized Delete: The Secret to 10x Faster Data Operations!" Big news for data engineers! Delta Lake 2.0+ in...
-
What is Azure Data Factory? * Azure Data Factory is a managed cloud service that's built for these complex hybrid extract-transform-lo...
-
---- L&T SQL Interview Problem | Print Highest and Lowest Salary Employees in Each Department---- ----- create table employee ( emp_na...
-
🌊 Understanding Delta Lake: Bridging the Gap Between Data Lakes and Data Warehouses 🌊 In today's data-driven world, organizations lev...