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

what is a trigger in mysql? Define different types of trigger. : Sql dba

542


Explain autonomous transaction.

629


How does a self join work?

508


Explain the select statement in sql?

606


What is a data manipulation language?

566






What is sqlexception in java?

538


Is stored procedure faster than query?

554


What is difference between my sql and sql?

521


what is data control language? : Sql dba

577


How do you create a db file?

510


What are the benefits of pl sql?

518


What is rename in sql?

542


Is sql a case sensitive language?

504


What are local and global Indexes and where they are useful.

920


How many triggers can be applied to a table?

587