Differences between UNIQUE and DISTINCT in select statements

Answer Posted / carol

unique is a constraint on coloumnsbut distinct is used in DML for query retrieval in select

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are sql data types?

538


How do I view tables in mysql?

534


what is the command used to fetch first 5 characters of the string? : Sql dba

1128


What is duration in sql profiler trace?

545


What is example of database?

511






What are the ddl commands?

527


What are the advantages of sql?

554


Why cannot I use bind variables in ddl/scl statements in dynamic sql?

654


what is the difference between a having clause and a where clause? : Sql dba

512


how to analyze tables with 'mysqlcheck'? : Sql dba

538


How do I debug a stored procedure?

617


Is sql open source?

538


What is the difference between in and between in sql?

568


What is not equal in sql?

501


how to dump a table to a file with 'mysqldump'? : Sql dba

543