+1 vote
in Sql by

Write a SQL SELECT query that only returns each name only once from a table?

1 Answer

0 votes
by
To get the result as each name only once, we need to use the DISTINCT keyword.

SELECT DISTINCT name FROM table_name;

Related questions

0 votes
asked Sep 9, 2019 in Spark Sql by ivor2019
0 votes
asked Jul 10, 2020 in Sql by SakshiSharma
...