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 is sequence?
How do you store pictures in a database?
What is Undo Management Advisor in Oracle?
What is index-organized table in Oracle?
How to use attributes of the implicit cursor in oracle?
How to define a data field as not null?
What is a nvl function?
i have a question here... As of my knowledge, when we apply an index (b-tree)on a column, internally it arranges the data in b-tree format and do the fetching process correspondingly... and my quetion is... How a bit-map index arranges the data internally when applied on a column?IS it in b-tree format or whatelse?
How will you write a query to get a 5th rank student from a table student_report?
please explain.. DB architecture ...
What is a procedure in oracle?
How to insert a new row into a table in oracle?
How to create a server parameter file?
Can select statements be used on views in oracle?
In AP we done Customizations for Late Payments Charges. For Reporting Purpose What are the Documents Prepared for Customer Understanding??