i have column like below
studentid studentname sub1 sub2 sub3
1 aaa 40 70 90
2 bbb 60 80 50
i want to execute every student highest mark in which subject
my o/p like below
studentid studentname sub3 sub2
1 aaa 90
2 bbb 80
Answers were Sorted based on User's Feedback
Answer / radhika
Sel studentid,studentname,greatest(sub1,sub2,sub3) from tablename;
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sonal
Try below :
sel studentid,studentname, greatest(sub1,sub2,sub3) max_masks
from student
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the default join strategy in Teradata???
How do you design aggregate tables using teradata?
Discuss the advantages of using partitioned primary index in a query?
What is Join Index in TD and How it works?
Does any body has TERADATA Certification Dumps, if any body is having please let me know to summee4you@gmail.o, it is very Very URGENT to me
What is the purpose of joins in teradata?
What are the different methods ot loading a dimension table? A fact table etc?
What is the function of parser component in teradata?
Differentiate database data and data warehouse data?
how do you handle ET and UV errors ?
If RDBMS is halted what will you do ?
Comment whether bottleneck is an error or not.