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

id name gender
1 Ram Female
2 Kumar Female
3 sathish Female
4 Santhya Male
5 Durga Male
6 Priya Male

This is my input...how to change Gender Male to Female &
Female to Male??? Write sql query for this question???

Answer Posted / srinu

update stud set gender= decode(gender,'M','F','F','M')

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate database data and data warehouse data?

1163


Why teradata is used?

1060


What does Amp contain and what are all the operations that it performs?

1058


What do you mean by tpt in teradata?

1068


How do you create tables? Exact syntax, and create profiles, users in teradata?

1091


What is meant by Teradata Gateway?

1115


How do you set the session mode parameters in bteq?

1144


Explain the term 'database' related to relational database management system?

1041


What is a clique?

1160


how can we analyze the locks ?

2196


Differentiate primary key and partition key?

1036


Highlight all the modes that are present under Confidence Level.

1015


Backup Script was blocked you are unable to archive the data now. how do you analyze it and where do you identify ?

2091


What is teradata? What are some primary characteristics of teradata?

1030


My table got locked during mload due to a failed job. What do I do to perform other operations on it?

1159