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

Define union, minus, union all, intersect ?

541


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

537


what is the use of double ampersand (&&) in sql queries?

614


Can we want to pass a parameter payroll_id to this external pl/sql function, how do we do it?

541


Where can I learn sql for free?

491






explain commit and rollback in mysql : sql dba

530


Where is pl sql used?

510


Can dml statements be used in pl/sql?

565


Can we write dml inside a function in sql server?

487


What is the difference between joins?

523


What is the use of pl/sql table?

544


What is primary key and foreign key?

519


What does closing a cursor do?

753


what are the different type of sql's statements ? : Sql dba

507


How many times can we commit in a loop?

558