adspace
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
Can we use distinct and group by together?
how many tables will create when we create table, what are they? : Sql dba
Can delete statement be rollbacked?
Does group by remove duplicates?
What is your daily office routine?
What is the current version of postgresql?
what is collation? : Sql dba
How do I remove duplicates in two columns?
What is the current version of sql?
Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me
define sql insert statement ? : Sql dba
what is bcp? When does it used? : Sql dba
What is the best sql course?
Can we rollback truncate?
what are all the common sql function? : Sql dba