SELECT
orderNumber,
DATE_FORMAT(orderdate, '%Y-%m-%d') orderDate,
DATE_FORMAT(requireddate, '%a %D %b %Y') requireddate,
DATE_FORMAT(shippedDate, '%W %D %M %Y') shippedDate
FROM
orders;
SELECT
orderNumber,
DATE_FORMAT(shippeddate, '%W %D %M %Y') shippeddate
FROM
orders
WHERE
shippeddate IS NOT NULL
ORDER BY shippeddate;
SELECT
orderNumber,
DATE_FORMAT(shippeddate, '%W %D %M %Y') 'Shipped date'
FROM
orders
WHERE
shippeddate IS NOT NULL
ORDER BY shippeddate;