Pinterest Interview Question

Write a SQL code that extracts certain information from three tables.