Freelancer interview question

Develop database structure and write SQL queries to extract data.