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...

Interchange the value of a column Gender in a table where
values are Male and Female. So, where the value is Male, it
should changed to Female and Female to Male.

Answer Posted / sushma s

Update table_name
Set gender = decode(gender,'M','F','M');

Is This Answer Correct ?    8 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between char and varchar data types? : Sql dba

1113


Is hadoop a nosql?

1006


What is difference sql and mysql?

989


What are stuff and replace function?

1084


Is left join inner or outer?

1015


What are the possible values that can be stored in a boolean data field?

1000


What type of database is sql?

1026


How would you pass hints to the sql processor?

982


How do I access sql anywhere database?

970


How to write pl sql program in mysql command prompt?

1099


mention if it is possible to import data directly from t-sql commands without using sql server integration services? If yes, what are the commands? : Transact sql

1042


How delete a row in sql?

995


Who is the owner of mysql database?

1057


Differentiate between sga and pga.

1165


What are the advantages of normalization?

1078