Using MySQL
Table
ID Date
001 2010-05-01
002 2010-06-08
Query
Select ID, Date from table;
I want to display a date in a specific format
Expected Output
ID Date
001 01-Mar-2010
002 08-June-2010
How to make a query in mysql.
Need Query Help
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use DATE_FORMAT with the format string ‘%d-%M-%Y’.
Result: