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 / apurva kumar
UPDATE table
SET Gender = CASE
WHEN Gender = 'Male' THEN 'Female'
ELSE 'Male'
END
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
If Fast Load Script fails and only the error tables are made available to you, then how will you restart?
What is logical data model?
What are the different table types that are supported by teradata?
Explain the term 'columns' related to relational database management system?
Different phases of multiload?
How to Extract data from multiple legacy systems?
what are the day to day activities of teradata DBA ?
What are tpump utility limitations?
What is the purpose of upsert command?
Highlight all the modes that are present under Confidence Level.
What is database exceptions in teradata?
What is real time and near real time data warehousing?
tomorrow i have interview in infosys.can someone pour any suggestions or any interview questions. thank you
Backup Script was blocked then you are unable to archive the data. how do you analyze it and where do you identify ?
Describe the set operators in teradata.