Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How do I delete a trigger?

911


what is a trigger in mysql? Define different types of trigger. : Sql dba

1008


Which join is like inner join?

973


How do I truncate a sql log file?

1002


What is nvarchar in sql?

884


what are the differences between public, private, protected, static, transient, final and volatile? : Sql dba

967


Which are the different case manipulation functions in sql?

952


what are enums used for in mysql? : Sql dba

1106


How do I know if I have sql express or standard?

973


What is cross join example?

940


explain access control lists. : Sql dba

946


what is clause? : Sql dba

1001


What is difference between inner join and cross join?

906


Why stored procedure is faster than query?

946


How do you use collections in procedure to return the resultset?

2179