Rakuten Interview Question

SQL basics