Write SQL for CTR and revenue | Meta Interview Question