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
Answer Posted / radhika
Sel studentid,studentname,greatest(sub1,sub2,sub3) from tablename;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can you track login parameters of users in teradata?
What are the available primary index types in teradata.
My table got locked during mload due to a failed job. What do I do to perform other operations on it?
What does Amp contain and what are all the operations that it performs?
If the PMON is not working then how do you manage and monitor all processes, resources and sessions etc.
How many codd's rules are satisfied by teradata database?
If Fast Load Script fails and only the error tables are made available to you, then how will you restart?
Explain amp in teradata?
Explain teradata architecture in detail with a diagram.
How to select first n records in teradata?
What is the use of virtual processor connectivity in teradata?
Describe primary index in teradata. And what are the available primary index types?
What are the advantages of teradata?
What is TPD?
In Teradata, how do we Generate Sequence?