SQL Distinct
December 19, 2022 2022-12-19 17:41SQL Distinct
Here in the Employee table, the column country consists of more than one similar country names.

We will now use the below query to get the distinct countries as follows
SELECT DISTINCT Country FROM EMPLOYEE
Now we will get the distinct countries as in the image, with country names FR and UK.

Please comment and share if you like this post and tell us about how we can enhance our posts. Thanks.
Subhajit
This is Subhajit Sinha, with more than 8 years of experience as a full stack developer in renowned Multinational Companies, here in this portal as an online tutor I will guide you personally to level up your programming skills and also will coach you to augment your career and salary as well.
Search
Popular posts
