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 jdbc class forname?

0 Answers  


What do you understand by jdbc driver and explain its types?

0 Answers  


What is the significance of DataBaseMetaData.tableIndexStatistics? How to obtain and use it?

0 Answers  


What is a jdbctemplate?

0 Answers  


What protocol does jdbc use?

0 Answers  


How do you insert images into database using jdbc?

0 Answers  


While in CallableStatament using in the oracle my procedure is return no.of columns so in java how can i retrivbe the data and i wnat to view all data which is reetrive from my procedure

0 Answers   ADP,


Explain the importance of drivermanager.

0 Answers  


How you restrict a user to cut and paste from the html page using java programing?

0 Answers  


How can you sort dates?

1 Answers  


What are jdbc?

0 Answers  


Categories