Write SQL to compute campaign net revenue | Capital One Interview Question