Team,
not sure whether here is the right place or not. but need help on this.
Country
Id Name
1 India
2 UK
3 Canada
4 US
Travel
CountryFrom CountryTo
1 2
2 1
2 3
I need to pull list of countries visited by the user(avoid duplicate countries) and result set should be as follows
Id, CountryVisisted
1 India
2 UK
3 Canada
Please suggest me

Amit GuptaRank #190 · 12.8K reputationPosted Feb 5, 2021, 4:28 AM EST
Sachin SinghRank #66 · 26.2K reputationPosted Feb 5, 2021, 4:38 AM EST
Rijwan AnsariRank #82 · 24.2K reputationPosted Feb 5, 2021, 4:56 AM EST
Nitin SontakkeRank #264 · 9.6K reputationPosted Feb 5, 2021, 11:01 PM EST