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
What is trigger in sql and its types?
how to convert character strings to numeric values? : Sql dba
what is dbms? : Sql dba
What's the procedure?
What are triggers and its types?
Write the alter statement to enable all the triggers on the t.students table.
What is full form of rtm?
How would you pass hints to the sql processor?
What is parameter substitution in sql?
How to display Row Number with Records in Oracle SQL Plus?
What is the need of a partition key?
What are the different dml commands in sql?
What is string data type in sql?
what is 'mysqlcheck'? : Sql dba
What is identity column in sql server?