Differences between UNIQUE and DISTINCT in select statements
Answer Posted / prabha
Distinct:
Its gives only the non duplicate values in a database table.
Unique:
The UNIQUE constraint uniquely identifies each record in a
database table.its similar to primary key.these values
cannot be repeated.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Why is sql important?
What is the purpose of cursors in pl/sql?
How do I view stored procedures?
What is sqlservr exe?
How do I order columns in sql?
what is csv? : Sql dba
What is over () in sql?
explain what is mysql? : Sql dba
What is native sql query?
How do we accept inputs from user during runtime?
which tcp/ip port does sql server run on? : Sql dba
what is row? : Sql dba
Is left join same as inner join?
Is there a 64 bit version of ssms?
What is cursor explain with example?