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 a sql statement?
What are stored procedures in mysql?
Can a foreign key have a different name?
How to export the table data (this table having 18 million records) to .csv file. Please tell me is there any faster way to export the data.
Which are the different case manipulation functions in sql?
Why do we use sql constraints?
I have a small PL/SQL Block assume in this way begin select * from emp where empno=100; exception when others then <Some Messages> when no_data_found then <Some Messages> when too_many_rows then <Some Messages> end; The question which he asked was whether this block will get executed normally or it will throw error ? If errored out then what is the reason for the error ? Could anybody please help me ? Regards Nakul Venkataraman
What is primary key sql?
What is difference between stored procedure and trigger?
How can we implement rollback or commit statement in a trigger?
List different type of expressions with the example.
pl/sql testing means what ...... explain process how to find pl/sql bugs
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)