Delete all orders and customer data in Magento

Run the following query within phpMyAdmin or MySQL console to delete all orders and customer data within your Magento store.

Warning: Please make sure you backup your MySQL database prior to running this query.