About the “Clinical Pathology Antibiogram Susceptibility Matrix” SQL Problem
Business Scenario
Hospital infection control committees construct an annual antibiogram matrix to guide empiric antimicrobial therapy: for each bacterial pathogen, compute the percentage of isolate samples tested that were susceptible.
Expected Output & Criteria
Summary of pathogen isolates and susceptibility percentage.
Database Table Schema (PostgreSQL DDL)
PostgreSQL 16 WASMThis challenge executes directly against the following relational schema in your browser:
CREATE TABLE antibiogram_isolates (
sample_id INT PRIMARY KEY,
pathogen_name VARCHAR(80) NOT NULL,
antibiotic_tested VARCHAR(50) NOT NULL,
interpretation VARCHAR(20) NOT NULL
);Target SQL Clauses & Operators
GROUP BYCOUNTROUND
Want more Business Analytics practice?
Explore the full syllabus of 14 exercises, syntax guides, and interview pitfalls.