Differences between UNIQUE and DISTINCT in select statements

Answer Posted / gourvendra singh

Buddy i dont found any difference in using distinct and
unique in the select statement, as both are performing same
operation in the select statement, almost every diff you
have discussed i want to add one that is u cant use
distinct in the create whereas unique u can.

Is This Answer Correct ?    19 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how would concatenate strings in mysql? : Sql dba

742


What are the different ways to optimize a sql query?

681


How are sql commands classified?

803


How to return an array from java to pl/sql?

792


How many sql commands are there?

851






What is data types in sql?

708


Explain mutating table error.

843


Can you skip header records while loading? : aql loader

735


Why do you partition data?

727


Mention what is the use of function "module procedure" in pl/sql?

788


How does index help in query performance?

765


Why is sql*loader direct path so fast?

801


What is clustered and nonclustered index in sql?

702


how to use like conditions? : Sql dba

786


What is the maximum number of columns in sql table?

781