By 25/02/2016 8 Comments

What Is SELECT DISTINCT Statement In SQL?

  • The DISTINCT clause is used with SELECT statement.
  • The DISTINCT clause selects only unique/different values from database table(s).
  • The DISTINCT clause is very useful when your database table contains duplicate values.

Syntax:

SELECT DISTINCT db_table_column1, db_table_column2
FROM db_table;

Example:

SELECT DISTINCT user_name
FROM sm_users;





Next Tutorial →


← Previous Tutorial


Posted in: Sql

Leave your valuable Comment

Have a natural attraction for women cosmetics and replica watches uk clothes, no
more than two for men the most attractive one, is to make their own driving experience, happy and can serve as the facade of the car, another is to highlight the taste edify sentiment rolex replica watch. The replica rolex is undoubtedly the most fashionable accessories, wear a suit to attend the activities, but also get a decent match on the replica watches .