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 does the argument [or replace] do?
What is composite data type in pl sql?
Which query operators in sql is used for pattern matching?
what are tables and fields? : Sql dba
how to shut down the server with 'mysqladmin'? : Sql dba
What is a delimiter in sas?
What are the two characteristics of a primary key?
what is try_catch block in procedure
What is trigger with example?
Explain mutating table error.
What is a dirty read sql?
What is a primary key sql?
i have a column which may contain this kind of value: 123*67_80,12*8889_5,34*8_874 ,12*7_7 (can contain space before a comma, and this string length can be anything) now i want to split this value into two column like: column1: 123*67,12*8889,34*8,12*7 column2: 80,5,874,7 use function for this
How does an execution block start and end in pl sql?
What is the best free sql database?