one of the column in my table contains the data like
SAL
----
1000
1000
2000
3000
3000
So my requirement is i want output like
SAL
---
1000
2000
3000
it mean i want to delete duplicate rows in the table
permanently and i want output in the above formatow should u
write query?
Answer Posted / muthukumar
Select Sal From Emp
Group By Sal
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
How can I get the number of records affected by a stored procedure?
Why trigger is used in sql?
What are all the different types of indexes?
what is the difference between mysql_fetch_object and mysql_fetch_array? : Sql dba
What is the difference between partitioning and sharding?
what are numeric data types? : Sql dba
What are tables and fields?
describe mysql connection using mysql binary. : Sql dba
What is nvarchar max in sql?
How does pl sql work?
How do I pipe the output of one isql to another?
What are all different types of collation sensitivity?
what is a foreign key ? : Sql dba
What are the differences between in and exists clause?
how would you write a query to select all teams that won either 2, 4, 6 or 8 games? : Sql dba