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

What is a clique?

587


Why teradata is used?

581


What is oltp?

574


What is collect statistics?

591


How you will check the version of teradata?

590






When tpump is used instead of multiload?

633


Explain and compare pros and cons of start schemas?

549


Why managing the data is important?

594


What is the purpose of joins in teradata?

546


Did you write stored procedures in teradata?

621


How many types of joins are there in teradata?

549


Hi send me the Teradata dumps to my id rajeshanantha@yahoo.co.in Thanks Rajesh. A

2910


What is teradata? Also, list out some of the primary characteristics of teradata.

582


Write a program to show the parser component used in teradata?

554


How can bottlenecks be identified?

587