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

Explain the teradata primary index mechanics in detail with a diagram.

571


What is smp and mpp platforms?

531


How do you do backup and recovery in teradata?

551


If RDBMS is halted what will you do ?

1710


why use references rather than pointers in the public api, particularly for arguments which are modified?

558






Hi Friends, Please send me Teradata Materials for certifications Thanks in advance !!

1702


how do you manage the production space. what are the proactive methods you can take ?

1477


What interface is used to connect to windows based applications?

586


What are the different functions included in the server software?

605


Difference between stored procedure and macro?

691


How many tables can you join in v2r5?

628


What are default access rights in teradata?

630


Explain the most common data types used in teradata?

591


How to eliminate product joins in a teradata sql query?

605


Why teradata is used?

580