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)
Answer Posted / tdguy
If the columntype is timestamp, just max() function would
give you the result.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do you verify a complicated sql?
What do you mean by teradata intellicloud?
How to view every column and the columns contained in indexes in teradata?
What are the available join types in teradata?
Explain the parallel data extension in teradata?
Explain the most common data types used in teradata?
What are differences between teradata and ansi session modes in teradata?
Explain PDE.
Define views in teradata with general syntax.
How do you define Teradata?
What are the steps involved in the process flow of the sql statement through channel attached system?
what are the day to day activities of teradata DBA ?
What is the basic syntax for teradata select statement?
Define views in teradata with syntax.
What are the functions of a Parser?