Create full functional html and JavaScript code with sql database queries:
Make an sari-sari store ordering system that can perform Create order, Read order, Update order, and Delete order. System can also store user info such as user_id purchased cost and system can track total earnings on specific date and most ordered item
