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
What are the primary characteristics of the Teradata.
What are the 5 phases in a multiload utility?
What are the various indexes in teradata? Why are they preferred?
Mention the procedure via which, we can run Teradata jobs in a UNIX environment.
What is dimensional modeling?
What is partitioned primary index (ppi)?
Difference between multiload and tpump?
What do you mean by teradata intelliflex?
How can we check the version of Teradata that we are using currently?
There is a column with date in it. If I want to get just month how it can be done? Can I use sub string?
In general, how do you optimze any sql in teradata?
Highlight the advantages of PPI(Partition Primary Index).
List out all forms of LOCKS that are available in Teradata.
how do you manage the production space. what are the proactive methods you can take ?
How many types of joins are there in teradata?