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 does sleep function does in fast load?

625


What are the design features involved in teradata?

554


Name the five phases that come under MultiLoad Utility.

591


What do you mean by tpt in teradata?

594


What are the different functions included in the server software?

609






How do you determine the number of sessions?

620


What is partitioned primary index (ppi)?

577


What is logical data model?

649


What do you mean by fastexport in teradata?

566


What are the frequently used data types in teradata?

607


What are the different design perspectives used in teradata?

557


Explain and compare pros and cons of snow flake schemas?

616


What is meant by a Least Cost Plan?

630


How is MLOAD Teradata Server restarted after execution?

656


What is the use of having index on table?

587