Differences between UNIQUE and DISTINCT in select statements
Answer Posted / hemasundar
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.But, nearly both are same...
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Mention what does plvtab enables you to do when you showthe contents of pl/sql tables?
What does 0 mean in sql?
What is nvarchar in sql?
What is function and procedure in pl sql?
Is sql microsoft?
what is the difference between delete and truncate statement in sql? : Sql dba
Can a varchar be a primary key?
1. is it possible to use the cursor atttibutes (%found ,% rowcount , %isopen , %notfound ) to our user defined cursor names ....... cursor cursor_name is select * from scott.emp if you use... cursor_name%found , %rowcount ,%isopen,%notfound...will it work... -------------------------- 2.what is the difference between the varray and index by table .. -------- 3. type type_name is table of number(8,3) index by binary_integer; identifier_name type_name; first , last , prior , next ,trim are the methods we can use it for the above type...simillary is there any way to apply for cursors... with thanks and regards..sarao...
what is isam? : Sql dba
How do I turn a list into a table?
Can we join same table in sql?
how to fetch alternate records from a table? : Sql dba
When should I use nosql database?
Can we use insert statement in function?
How does a trigger work?