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.
Answers were Sorted based on User's Feedback
Answer / monalisa dalbehera
select max(Order_Date) from Order_Name ;
Is This Answer Correct ? | 13 Yes | 3 No |
Answer / pritesh
select * from order_name where order_date=(select max
(order_date) from order_name)
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / gurudath mallya
select * from Order_Name where Order_Date=max(Order_Date);
Is This Answer Correct ? | 8 Yes | 9 No |
Answer / pardeeprajan
kindly give a delete option for the users to delete wrong
answer. administrator also should verify the answers regularly
Is This Answer Correct ? | 2 Yes | 4 No |
Answer / akki julak
SELECT ORDER_DATE FROM ORDER_NAME
WHERE ROWID=(SELECT MAX(ROWID) FROM ORDER_NAME);
Is This Answer Correct ? | 2 Yes | 5 No |
What is the difference between a database and a relational database?
Explain clause in sql?
how many triggers are allowed in mysql table? : Sql dba
What is data modelling in sql?
Is it possible to include an insert statement on the same table to which the trigger is assigned?
Is sql an operating system?
Whate is use of MOD function in pl/sql.
What is minus?
What are the two characteristics of a primary key?
How many indexes can be created on a table in sql?
what is the difference between union and union all? : Sql dba
tell us something about heap tables. : Sql dba