if table named a is there
and 4 records are there then how to swap (1 and 3) and (2 and 4) records at a time
Answer Posted / lokeshwari
select id,decode(id,'1','3','3','1','2','4','4','2') from tb11;
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the difference between truncate and drop statements?
How many parts of a pl sql block are optional?
How many triggers can be applied to a table?
What is sql key?
what is a unique key ? : Sql dba
What is $$ in sql?
name 3 ways to get an accurate count of the number of records in a table? : Sql dba
What is mutating error?
Are null values same as that of zero or a blank space?
How many clustered indexes can be created on a table?
How do I find duplicates in two columns?
How does rowid help in running a query faster?
Explain correlated query work?
What is dml with example?
If the application is running very slow? At what points you need to go about the database in order to improve the performance?