Pergunta de entrevista da empresa Meta

3 SQL questions based on dummy data on Ads. How will you write a query to calculate ROI, then per source etc. Simple group by and subqueries. Just need to keep in mind your join conditions.