If I have a table T with 4 rows & 2 columns A & B. A has
values 1,2,3,4. and B has 10,20,30,40. Write an Update SQL
query which can Swap the values of A & B for all records.
(Do not use a sub-query)
Answer Posted / amit
UPDATE T
SET A = B, ENVDOR_NUMBERB = A
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
Does mysql_real_escape_string prevent sql injection?
Is it possible to pass parameters to triggers?
What are sql data types?
Is subquery faster than join?
What packages are available to pl/sql developers?
what is union? : Sql dba
What is bulk compiling in pl/sql.?
What is the reports view in oracle sql developer?
is mysql query is case sensitive? : Sql dba
Is oracel sql developer written in java?
What is union, minus and interact commands?
Which query operators in sql is used for pattern matching?
What is linq to sql?
What is pragma in sql?
What is Collation Sensitivity ? What are the various type ?