MySQL SELECT DISTINCT Statement
MySQL SELECT DISTINCT Statement is used to retrieve only distinct data from a field/column.
It is very used to remove duplicates from the results.
Syntax
SELECT DISTINCT column1, column2, …
FROM table_name
MySQL SELECT Statement
MySQL SELECT Statement is used to print data from one or more tables. The data returned is stored in the result table, also called as result set.
It is one of the most commonly used statements in MySQL. In this article, we will learn about MySQL SELECT statement, from its basic syntax to advanced usage with examples.
Contact Us