I want to convert the following IN query into inner join query :
select country, name, rank from table person_details
where country in ('india','USA','australia')
and name in ('tom', 'jill', 'jack')
and rank in ('first', 'third', 'fifith');
I have two questions:
this table is big so will changing this IN query into inner join will speed up things.
What will be best way to split this comma separated list to a column in some temp table. I have see many regex examples but they seem too complex and big.
I am using Oracle 11g DB.
Table snapshot :
Id name country rank
1 tom india first
2 jill USA second
3 jack aus first