Hi All,
I have a table with 3 fields like id,mark1,mark2 and I would
like to update a mark3 field that would calculate the max
for each record (so the max value of the 2 fields) in
Teradata
ID Mark1 Mark2 Mark3
1 10 20
2 20 30
3 40 10
4 50 50
I Have to write a update statement Mark3 with max value of
mark1,mark2 fields…like bellow
ID Mark1 Mark2 Mark3
1 10 20 20
2 20 30 30
3 40 10 40
4 50 50 50
Please any one help me ....Thq

Answer Posted / rajesh

I didnt understand ur question,give me correct question and
excat o/p u wanted ,send example o/p what u wanted

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how spool space is used.

613


Name the five phases that come under MultiLoad Utility.

585


i learn teradata,it is so intersting,now i want teradata certifications ,so any 1 help me to get teradata certifications TD 12 ? email:kdcrazyy@gmail.com

1765


Write a program to show the parser component used in teradata?

549


Explain teradata utilities. What is multiload, fast load, tpump?

571






Why teradata is used?

576


tomorrow i have interview in infosys.can someone pour any suggestions or any interview questions. thank you

367


In general, how do you optimze any sql in teradata?

546


What are the newly developed features of Teradata?

569


What are the updated features of teradata?

578


What are the different methods ot loading a dimension table? A fact table etc?

574


What are the different functions included in the server software?

600


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

1694


Can you fastexport a field, which is primary key by putting equality on that key?

707


what are the day to day activities of teradata DBA ?

5360