Write SQL to compute shop visibility share | Meta Interview Question