Rakuten Symphony interview question

SQL queries and Java programs