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

What are the differences between setmaxrows(int) and setfetchsize(int)?

0 Answers  


What are the exceptions in jdbc?

0 Answers  


Does the database server have to be running Java or have Java support in order for my remote JDBC client app to access the database?

0 Answers  


Explain jdbc savepoint?

0 Answers  


What is jsp and jdbc?

0 Answers  






What is the full form of jdbc and what is its purpose?

0 Answers  


what happens if connection is not closed?

7 Answers   CTS,


Where is mysql jdbc driver located?

0 Answers  


What is the fastest type of JDBC driver?

0 Answers  


What is odbc jdbc?

0 Answers  


What are the benefits of PreparedStatement over Statement?

0 Answers  


What is the function of drivermanager class?

0 Answers  


Categories