NOTE: Procedures need to be called explicitly after they are created so to test your procedures, you have to call them.
a) Create a procedure that adds X amount of days (given by the user) to the "requireddate" value based on custid or orderid. If orderid given is NULL, the procedure runs based on custid. The procedure takes three arguments
b) Create a procedure that adds 10 % to the freight money
c) Create a procdeure that rounds the freight costs to nearest 10 €
d) Add a new column 'shippedBeforeRequired' to Orders table (using ALTER command) of boolean type. Create a procedure that sets 'shippedBeforeRequired' to true if shippeddate is smaller than requrieddate and false if vice-versa
Each is worth 2.5 %
Submit your SQL statements in one SQL file to Moodle. Do not submit the output, only the queries you have created.