Differences between UNIQUE and DISTINCT in select statements
Answer Posted / chandrakant agrawal
Let us try one using :
select distinct dept_name
from departments;
What this query would return if dept_name column contains
NULL values.
| Is This Answer Correct ? | 3 Yes | 11 No |
Post New Answer View All Answers
What are the different types of triggers?
How show all rows in sql?
What is query optimization in sql?
What is difference between procedure and trigger?
What's the difference between a primary key and a clustered index?
how to extract a unit value from a date and time? : Sql dba
What is a record in a database?
What are tables in sql?
How do you truncate?
What is a temporal table?
How does sql profiler work?
what are the properties and different types of sub-queries? : Sql dba
when is the use of update_statistics command? : Sql dba
how can we know the number of days between two given dates using mysql? : Sql dba
What are joins in sql?