Differences between UNIQUE and DISTINCT in select statements
Answer Posted / satish parashar
After applying the unique clause all the value of column
will be sorted, But in distinct clause it only remove the
duplicacy from the table,not sorted the column value.
Is This Answer Correct ? | 6 Yes | 15 No |
Post New Answer View All Answers
What are the advantages of stored procedure?
what is an extent ? : Sql dba
How do I audit the sql sent to the server?
What is dialect in sql?
What action do you have to perform before retrieving data from the next result set of a stored procedure ?
Can we join more than 2 tables in sql?
Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me
What does (+) mean in sql joins?
First round ------------------- - Procedure - Packages - Views - Virtual tables - Can we use dcl with in function? - Joins and few scenarios - Triggers and its type - Pragma, type and its functionality - How to create db link in oracle - Materialized view - How to find duplicate values from table? - Cursor and its functionality - Write a script to display friday and its date from a entire year. - Exception Handling Second round ------------------------ Gave a scenario like. Need to write a function to perform. When user try to change a password. It must not be last five password and a given password can be combination of characters, symbols, upper and lower case.
What is record type in pl sql?
what is subquery? : Sql dba
How can we avoid duplicating records in a query?
How do I write a sql query in pgadmin 4?
What is the use of prepared statement?
how to get a list of indexes of an existing table? : Sql dba