how can we replace the particular column value of a resulted
set of executed query? I mean write down a sql query to
chane the particular column's value of a resulted set of
executed query
Answer Posted / mglbayar
UPDATE (SELECT t1.col1 c1, t2.col1 c2
FROM table1 t1, table2 t2
WHERE t1.pk = t2.fk AND more_condition)
SET c1 = c2;
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Is left join faster than join?
what are all the common sql function? : Sql dba
What are the sql aggregate functions?
What is the difference between a query and a report?
How do you exit in sql?
What are the different ddl commands in sql?
how to convert numeric values to character strings? : Sql dba
What jobs use sql?
how do you login to mysql using unix shell? : Sql dba
How do you rank data in sql?
What is anonymous block in sql?
What is sql engine in oracle?
What are the uses of merge?
What does dml mean?
explain advantages of innodb over myisam. : Sql dba