How can you sort dates?



How can you sort dates?..

Answer / pg

select <date column> from <table name> order by <date
column>

if needed in descending order
select <date column> from <table name> order by <date
column> desc

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More JDBC Interview Questions

How do I set properties for a JDBC driver and where are the properties stored?

0 Answers  


What is an outer join?

3 Answers   Infogain,


Different statements in JDBC?

3 Answers  


List some new features available in jdbc 4.0?

0 Answers  


Explain the life cycle of jdbc.

0 Answers  






Is jdbc a protocol?

0 Answers  


What is jdbc odbc bridge in java?

0 Answers  


What is difference between java.util.Date and java.sql.Date?

0 Answers  


What are the different types of interfaces in the api component?

0 Answers  


why are using type4 driver in realtime projects?

4 Answers  


Give an example for execution of sql statement.

0 Answers  


How we store procedure in oralce for callable statements in jdbc

0 Answers  


Categories