I wrote an IT prac today, and we had one question that puzzled me quite a lot. There's a database with a table of soccer players along with the countries they come from. Now I had to create an SQL statement to get these countries, but they mustn't be repeated. Obviously "SELECT Country FROM PlayersTbl" will return the countries, but what would one add so that countries wouldn't appear more than once?
I've searched through my books but couldn't find anything...
I've searched through my books but couldn't find anything...