adspace
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 current version of postgresql?
Is primary key clustered index?
What is the best sql course?
what are the advantages of sql ? : Sql dba
how to escape special characters in sql statements? : Sql dba
what is schema? : Sql dba
If a cursor is open, how can we find in a pl/sql block?
what is collation? : Sql dba
Can we rollback truncate?
what are aggregate and scalar functions? : Sql dba
define sql insert statement ? : Sql dba
Does group by remove duplicates?
Can delete statement be rollbacked?
What is the current version of sql?
what are all the common sql function? : Sql dba