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
Can triggers stop a dml statement from executing on a table?
What are the set operators in sql?
What does sign mean sql?
What is asqueryable?
Can we insert data in view?
How to change the order of columns in Oracle SQL Plus ?
What is bind variable in pl sql?
How do you add a column to a table?
How do you rename a table in sql?
what is the difference between delete and truncate statement in sql? : Sql dba
Explain the types of joins in sql?
Explain what is a subquery ?
Describe different types of general function used in sql?
What is sql comments?
i have a column which may contain this kind of value: 123*67_80,12*8889_5,34*8_874 ,12*7_7 (can contain space before a comma, and this string length can be anything) now i want to split this value into two column like: column1: 123*67,12*8889,34*8,12*7 column2: 80,5,874,7 use function for this