Pergunta de entrevista da empresa IBM

1 hard backend question and 1 medium SQL question