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 / m.raghu

by using sub query answer is

update table1 set col1=(select col2 from table2 where
<cond>)

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to escape special characters in sql statements? : Sql dba

1124


Do we need to rebuild index after truncate?

1151


How do I remove duplicates in two columns?

1201


Is inner join faster than left join?

1286


what are aggregate and scalar functions? : Sql dba

1141


what are the advantages of sql ? : Sql dba

1150


Is primary key clustered index?

1025


What is the current version of sql?

1103


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

2099


how to start mysql server? : Sql dba

1278


what is dbms? : Sql dba

1069


What is the best sql course?

1061


If a cursor is open, how can we find in a pl/sql block?

1251


Can we rollback truncate?

1082


how to use regular expression in pattern match conditions? : Sql dba

1122