I've a table name Countries with two fields as ID, and CountryName.
Where ID is foreign key(ie., may have duplications) and the country name can be repeated as many times as it needed.
for example the scenario is
consider the above scenario where I need to get the ID's for which the CountryName India and also UK ( that means I should get the ID 1 and 2 as an output)
SELECT * FROM Countries WHERE CountryName='India' AND CountryName = 'UK'.
I know the above query won't retrieve even a single record. (I can't put OR cause it checks either of the countries).
Like that I've 'n' number of records in my table with 247 different countries.
Please help me to get it resolved.
Thanks in advance.