Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



if table named a is there and 4 records are there then how to swap (1 and 3) and (2 and 4) records ..

Answer / 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

More SQL PLSQL Interview Questions

How do you break a loop in pl sql?

0 Answers  


What is indexes?

0 Answers  


What is the difference between instead of trigger and after trigger?

0 Answers  


How can we connect an Android App to an Oracle database and use the PL/SQL procedural code?

0 Answers  


Why is theta join required?

0 Answers  


Why use subqueries instead of joins?

0 Answers  


how view used for security purposes?

3 Answers   Glam India,


what is the difference between granting and creating a view?

2 Answers  


How to run sql*plus commands in sql developer?

0 Answers  


What is the purpose of the primary key?

0 Answers  


what is the bond code in materialized view?

0 Answers  


how to debugg a procedure or package using dbms_output.put_line in plsql

1 Answers   Polaris,


Categories