Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

If the value in the column is repeatable, how do you find out the unique values?

8 like 0 dislike
Hello
If the value in the column is repeatable, how do you find out the unique values?
please reply me. i am waiting for your reply.
Thanx
asked 1 year ago by DBA-boss (120,990 points)

1 Answer

1 like 0 dislike
 
Best answer
Use DISTINCT in the query, such as SELECT DISTINCT user_firstname FROM users; You can also ask for a number of distinct values by saying SELECT COUNT (DISTINCT user_firstname) FROM users;
answered 1 year ago by eagles11 (179,830 points)

Related questions

3 like 0 dislike
0 answers
asked 1 year ago by marck_don (191,010 points)
9 like 0 dislike
1 answer
7 like 0 dislike
1 answer
5 like 0 dislike
0 answers
10 like 0 dislike
2 answers