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

explain the difference between myisam static and myisam dynamic. : Sql dba

898


write an sql query to find names of employee start with 'a'? : Sql dba

983


What is a file delimiter?

1040


Why do we create stored procedures & functions in pl/sql and how are they different?

905


Are stored procedures faster than dynamic sql?

998


what is top in tsql? : Transact sql

1045


how can we submit a form without a submit button? : Sql dba

935


What is rename command in sql?

970


How to select 10 records from a table?

1116


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

1102


Why are indexes and views important to an organization?

915


What does fetching a cursor do?

1045


Is it possible to link two groups inside a cross products after the cross products group has been created?

968


What is asqueryable?

911


How do you select unique values in sql?

960