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 |
How do you create a table with an existing structure of another table with data and with no data?
What are the joins in teradata and how many types of joins are there in teradata?
Why managing the data is important?
sel a.t1,b.t1 from emp a left outer join dept b ON a.id=b.id where b.deptno=10; sel a.t1,b.t1 from emp a left outer join dept b ON a.id=b.id and b.deptno=10; what is the difference on the above 2 queries?
In which phase of the Active Data Warehouse evolution do you use data to determine what will happen?
What is a pseudo key? What is its use???
How can we load single row of data into teradata database. please give me the process.
Where is teradata rdbms used?
if collect stats but it show low confidence why?
we have two tables emp,dept.emp has eno,ename,sal and dept has deptno,dname.how to find maxsal of each dept wise.which join used for joining.
5 Answers Accenture, Cognizant,
What is a level of granularity of a fact table?
can i call router is a passive transformation