TCS recently asked this question
I have records like below
Emp id Empname Salary DateTimestamp
1 AA 6000 20120609:11:30
1 AA 7000 20120609:12:30
1 AA 8000 20120609:01:30
I want to exceute records max timestamp(20120609:01:30)
Answers were Sorted based on User's Feedback
Answer / tdguy
If the columntype is timestamp, just max() function would
give you the result.
Is This Answer Correct ? | 1 Yes | 0 No |
If the script is aborted. why it is aborted and how can you identify ?
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???
How to find No. of Records present in Each AMP or a Node for a given Table through SQL?
What are the primary characteristics of the Teradata.
What EXPLAIN does in Teradata, what is High confidence, Low confidence and No confidence.. And How we improve the query performance .
What is the purpose of joins in teradata and what are the available join types?
What is the use of teradata system software?
How a Referential integrity is handled in Teradata?
Comment whether bottleneck is an error or not.
What is basic teradata query language?
Explain the new features of teradata?
how do we write scripts in unix how to execute scripts in real time anybody please needfull or give me number i will cal u