Skip to main content

Data Analyst Interview Questions

Review this list of 123 Data Analyst interview questions and answers verified by hiring managers and candidates.
  • Tesla logoAsked at Tesla 
    +31

    "with empbysalary as ( select id, firstname, lastname, salary, department_id, rank() over (partition by department_id order by salary desc) as rnk from employees ) select d.name as department_name, e.id as employee_id, e.firstname, e.lastname, e.salary from empbysalary e join departments d on e.department_id=d.id where e.rnk=1 order by 1; `"

    Rishabh L. - "with empbysalary as ( select id, firstname, lastname, salary, department_id, rank() over (partition by department_id order by salary desc) as rnk from employees ) select d.name as department_name, e.id as employee_id, e.firstname, e.lastname, e.salary from empbysalary e join departments d on e.department_id=d.id where e.rnk=1 order by 1; `"See full answer

    Data Analyst
    Coding
    +4 more
  • "First, I want to understand why Airbnb is considering expanding into the restaurant space. Is the goal more user engagement, or unlock new monetization paths, or make the travel journey more memorable by connecting people with food? Next, I want to define what success would look like for this expansion. That could mean high guest engagement or a boost in revenue. Third, I will look at things like the volume of Airbnb travelers to the region, how big the dining market is, who the local competitor"

    Ravindra R. - "First, I want to understand why Airbnb is considering expanding into the restaurant space. Is the goal more user engagement, or unlock new monetization paths, or make the travel journey more memorable by connecting people with food? Next, I want to define what success would look like for this expansion. That could mean high guest engagement or a boost in revenue. Third, I will look at things like the volume of Airbnb travelers to the region, how big the dining market is, who the local competitor"See full answer

    Data Analyst
    Data Analysis
    +2 more
  • "Clarify the Goal (What Does Success Look Like?) Asked: Why is DoorDash launching bikes for Dashers? Is it to: Expand Dasher availability in dense urban areas? Lower delivery times or costs? Increase access to work for those without cars? Each possible goal shapes the metrics differently. Broke Metrics into Categories: Operational Metrics Measure how well bikes are functioning as a delivery method. Average delivery time (bike vs car/walk) Order completion rate for bike Dashers On-t"

    Logan S. - "Clarify the Goal (What Does Success Look Like?) Asked: Why is DoorDash launching bikes for Dashers? Is it to: Expand Dasher availability in dense urban areas? Lower delivery times or costs? Increase access to work for those without cars? Each possible goal shapes the metrics differently. Broke Metrics into Categories: Operational Metrics Measure how well bikes are functioning as a delivery method. Average delivery time (bike vs car/walk) Order completion rate for bike Dashers On-t"See full answer

    Data Analyst
    Data Analysis
    +2 more
  • Accenture logoAsked at Accenture 
    Video answer for 'Design an AI data product.'
    +2

    "Understand the business problem: Identify the business problem that the AI data product is intended to solve. Identify the target audience: Understand who will be using the data and what problem they will be solving for using the data. This will inform the features and functionality that should be included in the product. Gather and preprocess the data: Collect and preprocess the data that is relevant to the problem that it is being solved for. This will inform the AI algorithm"

    M D. - "Understand the business problem: Identify the business problem that the AI data product is intended to solve. Identify the target audience: Understand who will be using the data and what problem they will be solving for using the data. This will inform the features and functionality that should be included in the product. Gather and preprocess the data: Collect and preprocess the data that is relevant to the problem that it is being solved for. This will inform the AI algorithm"See full answer

    Data Analyst
    Product Design
    +1 more
  • +20

    "Wording is a bit confusing on this one. This one can be interpreted as asking for count of unmatched bookings per user. By saying average here, what they really mean "what is the proportion of unmatched bookings to total bookings for each user." Important clarifying question to ask here if this was asked in a real interview!"

    Chase C. - "Wording is a bit confusing on this one. This one can be interpreted as asking for count of unmatched bookings per user. By saying average here, what they really mean "what is the proportion of unmatched bookings to total bookings for each user." Important clarifying question to ask here if this was asked in a real interview!"See full answer

    Data Analyst
    Coding
    +3 more
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • +21

    "The user table no longer exists as expected - I get an error that user does not contain user_id. Note that querying the table results in only user:swuoevkivrjfta select * FROM user `"

    Evan R. - "The user table no longer exists as expected - I get an error that user does not contain user_id. Note that querying the table results in only user:swuoevkivrjfta select * FROM user `"See full answer

    Data Analyst
    Coding
    +3 more
  • +17

    "--country names are UPPERCASE but the table in the in the question showing lowercase. That's why it took me a while to figure it out until I ran the country column WITH RECURSIVE Hierarchy AS ( SELECT e.Emp_ID, CONCAT(e.FirstName, ' ', e.MiddleName, ' ', e.LastName) AS FullName, e.Manager_ID, 0 AS Level, CASE WHEN e.Country = 'IRELAND' THEN s.Salary * 1.09 WHEN e.Country = 'INDIA' THEN s.Salary * 0.012 ELSE s.Salary "

    Victor N. - "--country names are UPPERCASE but the table in the in the question showing lowercase. That's why it took me a while to figure it out until I ran the country column WITH RECURSIVE Hierarchy AS ( SELECT e.Emp_ID, CONCAT(e.FirstName, ' ', e.MiddleName, ' ', e.LastName) AS FullName, e.Manager_ID, 0 AS Level, CASE WHEN e.Country = 'IRELAND' THEN s.Salary * 1.09 WHEN e.Country = 'INDIA' THEN s.Salary * 0.012 ELSE s.Salary "See full answer

    Data Analyst
    Coding
    +3 more
  • "In one of my projects, l analyzed customer purchase data for a retail company to under why sales were decrease"

    Kusheta K. - "In one of my projects, l analyzed customer purchase data for a retail company to under why sales were decrease"See full answer

    Data Analyst
    Data Analysis
    +3 more
  • "Let's take Google Fitbit as the product and analyze how to identify its competitors. 1. Identify Direct Competitors (Similar Wearables & Smartwatches) Fitbit is a fitness tracker and smartwatch brand, so direct competitors include: Apple Watch Series (Apple) Samsung Galaxy Watch (Samsung) Garmin Wearables (Garmin) Amazfit & Zepp (Huami) Xiaomi Mi Band (Xiaomi) These brands offer smartwatches or fitness bands with similar health-tracking features. 2. Use Launch Events for Insi"

    Rajdeep J. - "Let's take Google Fitbit as the product and analyze how to identify its competitors. 1. Identify Direct Competitors (Similar Wearables & Smartwatches) Fitbit is a fitness tracker and smartwatch brand, so direct competitors include: Apple Watch Series (Apple) Samsung Galaxy Watch (Samsung) Garmin Wearables (Garmin) Amazfit & Zepp (Huami) Xiaomi Mi Band (Xiaomi) These brands offer smartwatches or fitness bands with similar health-tracking features. 2. Use Launch Events for Insi"See full answer

    Data Analyst
    Data Analysis
    +2 more
  • +25

    "select name, stock from products p left join transactions t on p.id = t.product_id order by date desc limit 1"

    Daniel C. - "select name, stock from products p left join transactions t on p.id = t.product_id order by date desc limit 1"See full answer

    Data Analyst
    Coding
    +3 more
  • Stripe logoAsked at Stripe 

    "Stripe Connect is the backbone for marketplaces and platforms like think Shopify, DoorDash, or Lyft, that need to send money to multiple sellers or service providers. Its core promise is simple but vital: enable platforms to pay their users quickly, reliably, and compliantly. If we step back, a good North Star Metric should reflect the real value the product delivers to its users, and it should scale as that value grows. For Connect, that value is the flow of money from platforms to their conne"

    Christopher W. - "Stripe Connect is the backbone for marketplaces and platforms like think Shopify, DoorDash, or Lyft, that need to send money to multiple sellers or service providers. Its core promise is simple but vital: enable platforms to pay their users quickly, reliably, and compliantly. If we step back, a good North Star Metric should reflect the real value the product delivers to its users, and it should scale as that value grows. For Connect, that value is the flow of money from platforms to their conne"See full answer

    Data Analyst
    Analytical
  • Amazon logoAsked at Amazon 

    "I told a story about how our team was focussed on moving a key metric i.e. NPS and to do that we build 3 top requested user feature. Post release the detractors % didn't move even though the detractors request for features shipped went down. Then I connect with users and did some analysis post which we realised that we need to pivot our focus from shipping features to enabling complete workflows for our users i.e. shipping all those feature which are used together in a feature as then only users"

    Aditya S. - "I told a story about how our team was focussed on moving a key metric i.e. NPS and to do that we build 3 top requested user feature. Post release the detractors % didn't move even though the detractors request for features shipped went down. Then I connect with users and did some analysis post which we realised that we need to pivot our focus from shipping features to enabling complete workflows for our users i.e. shipping all those feature which are used together in a feature as then only users"See full answer

    Data Analyst
    Behavioral
    +2 more
  • Google logoAsked at Google 
    +2

    "WITH RECURSIVE fibonacci_series AS ( SELECT 1 AS n, 0 AS fib1, 1 AS fib2 UNION ALL SELECT n + 1 AS n, fib2 AS fib1, fib1 + fib2 AS fib2 FROM fibonacci_series WHERE n < 20 -- Limit the series to 20 numbers ) SELECT n, fib1 AS fib FROM fibonacci_series ORDER BY n; `"

    Yashasvi V. - "WITH RECURSIVE fibonacci_series AS ( SELECT 1 AS n, 0 AS fib1, 1 AS fib2 UNION ALL SELECT n + 1 AS n, fib2 AS fib1, fib1 + fib2 AS fib2 FROM fibonacci_series WHERE n < 20 -- Limit the series to 20 numbers ) SELECT n, fib1 AS fib FROM fibonacci_series ORDER BY n; `"See full answer

    Data Analyst
    Coding
    +4 more
  • "To analyze a year-over-year (YoY) slowdown in transactions, you should start by understanding the context, segmenting data, identifying potential drivers, and then formulating actionable recommendations. This involves a structured approach that includes a thorough examination of the data, both internally and externally. Understand the Context: Define "transactions": What specific transactions are being analyzed (e.g., website purchases, in-store purchases, total transactions)? Timeframe: Sp"

    Ankit kumar S. - "To analyze a year-over-year (YoY) slowdown in transactions, you should start by understanding the context, segmenting data, identifying potential drivers, and then formulating actionable recommendations. This involves a structured approach that includes a thorough examination of the data, both internally and externally. Understand the Context: Define "transactions": What specific transactions are being analyzed (e.g., website purchases, in-store purchases, total transactions)? Timeframe: Sp"See full answer

    Data Analyst
    Data Analysis
    +2 more
  • +10

    "In the question it says: "above the overall average total posts", which to me implying a >, yet in the solution it uses >= Caused me 1 hr to find out. plz fix"

    Peter W. - "In the question it says: "above the overall average total posts", which to me implying a >, yet in the solution it uses >= Caused me 1 hr to find out. plz fix"See full answer

    Data Analyst
    Coding
    +3 more
  • +23

    "with cte as (select ts.employee_id, e.name, t.id as test_id, max(distinct ts.score) as total from test_results as ts join tests as t on ts.test_id = t.id join employees as e on ts.employee_id = e.id group by ts.employee_id, e.name, t.id) select employee_id, name as employee_name, sum(total) as total_score from cte group by employee_id, employee_name order by total_score desc, employee_id asc ;"

    Christian B. - "with cte as (select ts.employee_id, e.name, t.id as test_id, max(distinct ts.score) as total from test_results as ts join tests as t on ts.test_id = t.id join employees as e on ts.employee_id = e.id group by ts.employee_id, e.name, t.id) select employee_id, name as employee_name, sum(total) as total_score from cte group by employee_id, employee_name order by total_score desc, employee_id asc ;"See full answer

    Data Analyst
    Coding
    +3 more
  • " logo Contact Interview Preparation Application Process Career Advancement Onboarding and Orientation Common Interview Questions Dashboard Creation Interview Questions and Answers Dashboard Creation Interview Questions and Answers What is a dashboard? Answer: A dashboard is a visual representation of key performance indicators (KPIs) and other important data, designed to provide a high-level overview of a specific area or business process. It typically uses charts, graphs, and other da"

    Ankit kumar S. - " logo Contact Interview Preparation Application Process Career Advancement Onboarding and Orientation Common Interview Questions Dashboard Creation Interview Questions and Answers Dashboard Creation Interview Questions and Answers What is a dashboard? Answer: A dashboard is a visual representation of key performance indicators (KPIs) and other important data, designed to provide a high-level overview of a specific area or business process. It typically uses charts, graphs, and other da"See full answer

    Data Analyst
    Data Analysis
    +3 more
  • Amazon logoAsked at Amazon 

    "1) select avg(session) from table where session> 180 2) select round(sessiontime/300)*300 as sessionbin, count() as sessioncount from table group by round(sessiontime/300)300 order by session_bin 3) SELECT t1.country AS country_a, t2.country AS country_b FROM ( SELECT country, COUNT(*) AS session_count FROM yourtablename GROUP BY country ) AS t1 JOIN ( SELECT country, COUNT(*) AS session_count FROM yourtablename `GROUP BY countr"

    Erjan G. - "1) select avg(session) from table where session> 180 2) select round(sessiontime/300)*300 as sessionbin, count() as sessioncount from table group by round(sessiontime/300)300 order by session_bin 3) SELECT t1.country AS country_a, t2.country AS country_b FROM ( SELECT country, COUNT(*) AS session_count FROM yourtablename GROUP BY country ) AS t1 JOIN ( SELECT country, COUNT(*) AS session_count FROM yourtablename `GROUP BY countr"See full answer

    Data Analyst
    Coding
    +4 more
  • "After cleaning and organizing the data the dataset become retable and ready for analysis. This helped the tame make accurate decision based on clean data"

    Kusheta K. - "After cleaning and organizing the data the dataset become retable and ready for analysis. This helped the tame make accurate decision based on clean data"See full answer

    Data Analyst
    Data Analysis
    +3 more
  • +10

    " select user_id, b.marketing_channel from user_sessions a Left join attribution b on b.sessionid = a.sessionid group by 1,2 HAVING sum(purchasevalue)>100 and min(adclick_timestamp) `"

    G B. - " select user_id, b.marketing_channel from user_sessions a Left join attribution b on b.sessionid = a.sessionid group by 1,2 HAVING sum(purchasevalue)>100 and min(adclick_timestamp) `"See full answer

    Data Analyst
    Coding
    +3 more
Showing 21-40 of 123