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 / gurudath mallya

select * from Order_Name where Order_Date=max(Order_Date);

Is This Answer Correct ?    8 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pragma in sql?

610


What are the different schemas objects that can be created using pl/sql?

519


What are the uses of sysdate and user keywords?

619


what is a table called, if it has neither cluster nor non-cluster index? What is it used for? : Sql dba

518


What are the two characteristics of a primary key?

483






what is transaction? : Sql dba

525


What programs use sql?

519


What is the difference between syntax error and runtime error?

609


Is primary key a clustered index?

530


how to implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql dba

539


What is scope and visibility in PL/SQL?

590


Is sql a backend?

540


What is schema in sql?

507


What is bind reference and how can it be created?

570


How do you explain an index number?

527