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 / tdguy

update using case option is the best option for this query.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by a dispatcher?

562


How can we check the version of Teradata that we are using currently?

587


What is the maximum number of dml can be coded in a multiload script?

617


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

597


In the Primary Index, what is the score of AMPs that are actively involved?

573






What is basic teradata query language?

632


What are the updated features of teradata?

576


Difference between inner join and outer join?

582


What is TPD?

902


Describe the between keyword in teradata?

612


What is meant by a Least Cost Plan?

618


Can we collect statistics on multiple columns?

563


What is difference between user and database in teradata?

616


What is the function of parser component in teradata?

619


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

590