Differences between UNIQUE and DISTINCT in select statements

Answer Posted / cutepa1

yeah Manoj, this was analysed with your previous answer
itself but please try these statements and help me with
it's significance on the statements.
select unique(<clomun_name>) from <table_name>;
select distinct(<clomun_name>) from <table_name>;

Is This Answer Correct ?    16 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is better varchar or nvarchar?

546


Explain the difference between rename and alias?

543


What are the query optimization techniques?

535


Why use subqueries instead of joins?

603


Does truncate free space?

515






Explain autonomous transaction.

632


what is the difference between truncate and drop statements? : Sql dba

552


Is left join and outer join same?

541


How do you update f as m and m as f from the below table testtable?

1067


How do I run a program in pl sql?

497


what happens if you no create privilege in a database? : Sql dba

529


How do you write an index?

524


What is sqlite used for?

528


What is sql and explain its components?

595


How can I get the number of records affected by a stored procedure?

570