Darigold Interview Question

Given a result data set and a table schema, write a SQL statement to produce the output.