Sep 9, 2019 in Spark Sql
Q:

SQL SELECT DISTINCT Statement

1 Answer

0 votes
Sep 9, 2019

The SQL SELECT DISTINCT Statement

The SELECT DISTINCT statement is used to return only distinct (different) values.

Inside a table, a column often contains many duplicate values; and sometimes you only want to list the different (distinct) values.

SELECT DISTINCT Syntax

SELECT DISTINCT column1, column2, ...
FROM table_name;
Click here to read more about Loan/Mortgage
Click here to read more about Insurance
...