Chat with us, powered by LiveChat Use start transaction, commit and rollback, and to learn and use the basic syntax of MySQL | WriteDemy

Question Description

Make sure that you are using student database. DO NOT commit or rollback an operationuntil instructed to do so.

1. Describe the cost_table.

2. Start transaction

3. Write insert statements to place the following data into the cost_table: (See table correctly formatted in attached file)

SHIPPER MIN_SIZE MAX_SIZE MAX_WEIGHT TIME_FRAME COST_FACTORUS Mail 2 20 25 20 2Fly By Night 10 100 150 5 10Mail Box, Etc. 2 40 30 5 30Box Right 5 40 30 5 30Ship Aid 5 40 30 5 30

4. Write a single select statement that will verify your inserts.

5. Write a delete statement to remove just the new “Ship Aid” record.

6. Write a select statement to display the distinct shippers in the cost_table to verifythat the single Ship Aid record was deleted.

7. Write a statement to update the cost_factor to 5 for the US Mail record.

8. Write a select statement to verify the updated cost_factor field for the US Mail.

9. Rollback all changes to the cost_table for this transaction.

10. Write a single select statement that will verify that all changes to the cost_tablehave been rolled back.

11. Issue start transaction command.

12. Repeat exercise (2).

13. Issue a savepoint command. Name the savepoint ‘costs_ok’;

14. Write statements to make the following updates to cost_table (be careful withwhere):1. Make max_size = 50 for US Mail and Box Right.2. Make min_size = 100 for Fly By Night.3. Make cost_factor = 32 for Ship Aid.

15. Write a select statement to display the shippers and each modified field to verifythe changes.

16. Rollback the changes made to your savepoint.

17. Commit the changes from this transaction.

Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

Do you need an answer to this or any other questions?

About Writedemy

We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.

How It Works

To make an Order you only need to click on “Place Order” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Are there Discounts?

All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.

Hire a tutor today CLICK HERE to make your first order