Expedia Group interview question

Join query, Linux command