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 |
What are the new features in Oracle 10g. Compared to Oracle 9i?
what is innodb? : Sql dba
Use The Implicit cursor to Query The Department table information Where Deptno is 30.check,if no record was found then print "Record Was Not Found".Else Print Deptname And Ename.Dept table Have Dname Varchar2(20),Deptno Number,EnameVarchar2(20).Please Answer In 2 mins,with in Maximum 15 lines.
How do I delete a trigger?
write the Sql query for creating database backup?
what happens when the column is set to auto increment and you reach the maximum value for that table? : Sql dba
What is sql performance tuning?
what eliminate duplicate without using roenum and not
Is json a nosql?
what's the difference between a primary key and a unique key? : Sql dba
What is the difference between UNIQUE KEY and UNIQUE INDEX?
What are stuff and replace function?
Oracle (3259)
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)