Pergunta de entrevista da empresa InMobi

Asked me to write SQL query to join two table and print one column from each table in ascending order and descending order