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 / priya
select DISTINCT sal from emp;
| Is This Answer Correct ? | 8 Yes | 5 No |
Post New Answer View All Answers
What are some emotional triggers?
define data blocks ? : Sql dba
Which is better join or inner query?
What is the clause we need to add in function body to return variable?
What is field delimiter?
Lookups are a key component in sql server integration services (ssis). Explain its purpose?
Which function is used to return remainder in a division operator in sql?
Does oracle roll back the transaction on an error?
explain primary keys and auto increment fields in mysql : sql dba
What are basic techniques of indexing?
Show code of a cursor for loop.
What are sql functions? Describe the different types of sql functions?
How to install oracle sql developer?
What is the difference between delete, truncate and drop command?
What are the possible values that can be stored in a boolean data field?