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 |
how will u find statistics of a database objects?
How many commands are there in sql?
What are the basic sql commands?
can i use global variables in stored procedure or function
How can get second highest salary in sql?
I have a tablle like this: cust acc ----------- a 1 b 2 b 3 c 4 c 5 c 6 I Want below o/p: cust acc --------------- a 1 b 2|3 c 4|5|6 Please any one can you have any ideas share me. I have urgent requirement.
what is difference between decode and case function?
How many null values can be inserted in a coulmn whihc is unique constraint
What is the difference between database trigger and stored procedure?
What are the advantages of pl sql?
What is a constraint?
Is pl sql and postgresql same?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)