Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started
BI Tools and Scalability
00:00
5 left

BI Tools and Scalability

EasySQL · PostgreSQL

Problem

Which BI tools (such as Tableau or Power BI) have you used, and how do they differ in terms of scalability?

Write a SQL query that summarizes recorded BI tool usage and assigns a scalability assessment based on runtime and data volume.

Output

  1. One row per BI tool, including tools with no recorded runs.
  2. Return tool_name, vendor, usage_count, unique_users, avg_runtime_seconds, max_rows_processed, and scalability_assessment.
  3. Sort by usage count descending, then tool name ascending.

Schema

bi_tools
ColumnTypeDescription
tool_idPKINTUnique BI tool identifier
tool_nameVARCHAR(100)BI tool name
vendorVARCHAR(100)Tool vendor
is_activeBOOLEANWhether the tool is currently active
dashboard_runs
ColumnTypeDescription
run_idPKINTUnique dashboard execution identifier
tool_idINTBI tool used for the execution
user_idINTUser who launched the dashboard
runtime_secondsINTDashboard execution time in seconds
rows_processedINTNumber of rows processed
run_statusVARCHAR(20)Execution status
Tablesbi_toolsdashboard_runs
Interviewer

Your question is BI Tools and Scalability. Start with the requirements and the two tables in the Question tab.

Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.

You need to log in / sign up to run or submit.
CodePostgreSQL
You need to log in / sign up to run or submit.Ln 1
Run your query to see results here.