|
Posted by: Arch on 2010-03-03, 11:48:02
Karthik, I'm not a 100% sure how your database is designed. are you using the Date type? or do you have separate columns for each, Year, Month, and Day? If you are storing the date in a Date type column, simply append this at the end of your query: ORDER BY Date (assuming that's the name of the column). If you are storing all 3 separate, append the following at the end of your query: ORDER BY Year, Month, Day (replace with your column names, and you can arrange them in whichever order you want them sorted). |