Pergunta de entrevista da empresa emarsys

I was asked to talk about using sql in a real word example and how I would store data and query data for the particular example.