how to format date in sql query code example Example: sql date format default date format of my sql - YYYY-MM-DD