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 does sql developer connect to oracle database?
What is pl sql in oracle?
What is java sql connection?
how can you see all indexes defined for a table? : Sql dba
how do you tune the slow running queries in oracle db , explain the methodology
What is scalar function in sql?
using cursors salesman get bonus as 10% of their salary , managers get 20% , analalist get 30%. generae a report showing the employee name, salary , bonus.
What is indexing in sql and its types?
what is a foreign key ? : Sql dba
Mention what problem one might face while writing log information to a data-base table in pl/sql?
Explain commit, rollback and savepoint.
How do I run pl sql in sql developer?
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)