Henry Schein interview question

Using SQL and joining tables extract certain data sets