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

how can we transpose a table using sql (changing rows to column or vice-versa) ? : Sql dba

504


What packages(if any) has oracle provided for use by developers?

5023


Mention what is the function that is used to transfer a pl/sql table log to a database table?

484


What are the usages of sql?

562


What is cursor in pl sql?

574






What is a nested table in word?

529


Why functions are used in sql?

513


how to use regular expression in pattern match conditions? : Sql dba

522


Is there any restriction on the use of union in embedded sql?

668


Explain what is table in a database?

576


What is forward declaration in pl sql?

588


Which query operators in sql is used for pattern matching?

540


what is the maximum length of a table name, database name, and fieldname in mysql? : Sql dba

617


How do I save a sql query?

542


How do I run a sql trace?

518