Sunday, May 01, 2016

Select Distinct Column Name From Database Mysql Query

Following are the query mention below to select distinct column from the database table in Mysql.

SELECT DISTINCT column_name FROM table_name;

For example you have column in a table which have duplicate result but you want to show only distinct result from the duplication of the columns.


No comments:

Post a Comment