S&P Global Interview Question

sql questions based on unique,select keyword