Q) How to Find Max Date from each Group? (Asked in Infosys
(INFI)Interview)
Answer Posted / sudipta santra
select market_id, mkt_name, max(sale_dt)
from market
group by market_id, mkt_name;
Note: This is the only correct answer
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What are the ways tablespaces can be managed and how do they differ?
What are the uses of Database Trigger ?
What is an oracle table?
Why do we use coalesce function in oracle?
Why do you create or replace procedures rather that drop and recreate.
How to change program global area (pga) in oracle?
What is a snapshot log?
What is a read write transaction in oracle?
Explain temporal data types in oracle
List out the difference between commit, rollback, and savepoint?
How to select an oracle system id (sid)?
How to store only time; not date and time?
How many types of database triggers exist?
What is oracle host variable?
how to code performance tuning of oracle PL/SQL? can any body send me the perfect answer?