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 / akki julak

SELECT ORDER_DATE FROM ORDER_NAME
WHERE ROWID=(SELECT MAX(ROWID) FROM ORDER_NAME);

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I count rows in sql query?

484


How much does sql certification cost?

535


what are the features and advantages of object-oriented programming? : Sql dba

536


Can we join same table in sql?

517


How do I find duplicates in sql?

497






What is scope and visibility in PL/SQL?

590


Is primary key always clustered index?

531


What is the use of non clustered index?

522


What is relationship? How many types of relationship are there?

584


Why is a primary key important?

537


If i can use sys.check_constraints to display my constraints from my database using sql server 2005, how can i display then if i am using sql server 2000????

3541


What does subquery mean in sql?

530


What is a mutating table and a constraining table?

560


Can we use join in subquery?

563


What is the unique index?

518