Answer Posted / arun karthick
select sal from emp group by sal; and select distinct sal
from emp ;
Both queries will give the same result - fetch the salary
in emp table without duplicates.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can we insert data in view?
What is primary key secondary key alternate key candidate key?
What is the difference between microsoft access and sql?
How many postgresql users are there, worldwide?
What is sql and db2?
how to select unique records from a table? : Sql dba
What are basic techniques of indexing?
What is the difference between an inner and outer join?
What are the basic techniques of indexing?
Is primary key clustered index?
what is the difference between mysql_fetch_object and mysql_fetch_array? : Sql dba
Is pl sql different from sql?
What is the default isolation level in sql server? : Transact sql
Does postgresql run on the cloud?
What is a temporal table?