Table Order_Name has a column Order_Date which gives the
date & Time at which the order is passed.Find the table to
write a query to find out the latest order.

Answer Posted / pritesh

select * from order_name where order_date=(select max
(order_date) from order_name)

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you inner join the same table?

708


Why do we need pl sql?

723


What is orm in sql?

723


Why use subqueries instead of joins?

795


what is a cursor? : Sql dba

745






What does count (*) mean?

680


How to know the last executed procedure?

809


What is a data definition language?

791


What is the difference between left and left outer join?

690


Which table is left in join?

686


what is single byte over head in oracle..?

2090


What is the difference between view and stored procedure?

690


What type of database is cloud sql?

778


Why do we use function in pl sql?

753


What are the different types of joins in sql?

1142