Select All hackerrank solution in sql

join shbcf.ru