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

What is the advantage of index in sql?

687


List the various privileges that a user can grant to another user?

774


How to get list of all tables from a database?

842


What is meant by cursor in sql?

725


What are the different types of triggers?

774






What is use of package in pl sql?

713


what are the 'mysql' command line arguments? : Sql dba

839


What are the advantages of indexing?

728


What is error ora-01000: maximum open cursors exceeded

783


what are all different types of collation sensitivity? : Sql dba

708


What are the conditions an underlying table must satisfy before a cursor can be used by a positioned update or delete statement? : Transact sql

734


What is your daily office routine?

1986


what are the security recommendations while using mysql? : Sql dba

768


How to run sql statements through the web interface?

730


Is merge a dml statement?

729