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 / lokeshwari
select id,decode(id,'1','3','3','1','2','4','4','2') from tb11;
Is This Answer Correct ? | 2 Yes | 1 No |
How can I delete duplicate rows?
What is function and procedure in pl sql?
What does cursor do in sql?
What plvcmt and plvrb does in pl/sql?
How does sql developer connect to oracle database?
What is nested table in pl sql?
What are the syntax and use of the coalesce function?
What are different types of refreshment techniques of materialised view
Give the structure of the procedure ?
What are the different ddl commands in sql?
What is sql in java?
What are user defined stored procedures ?