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 |
Mention what is the plv (pl/vision) package offers?
How do you explain an index number?
Does truncate need commit?
how to rename an existing column in a table? : Sql dba
What is a table partition?
what are set operators in sql? : Sql dba
Why is a trigger used?
What is integrity in sql?
What is a CTE (Common Table Expression), and how is it different from a subquery?
What is clause in sql?
A table was given with 3 columns like Manager id,Manager Name and Employee name. Question was to create hierarchy.
What is trigger point?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)