bp interview question

Sql queries on joins and normalization