Need A++ work with low turnitin score

Assignment 2: Troubleshooting SQL Statements

In this assignment, you will delve deeply into Structured Query Language (SQL) statements. You will review existing SQL statements and troubleshoot them. You would need to determine why the given statements are not functioning properly. At the conclusion of this assignment, you should be able to examine and troubleshoot basic SQL statements.

Scenario:

A good friend of yours is starting a fantasy football league and has created a small database to track the team owners, teams, players, and games. Your friend knows that you are taking a database fundamentals class and has asked you to help. Your friend is not able to figure out why the database is not getting modified in any way. Your friend has given you a copy of the following:

    • A database schema diagram. Click here to access the database schema diagram.
    • A Microsoft Access database. Click here to access the Microsoft Access database.
    • The following list of what he or she is trying to do:
  1. Add a new owner named Alice Wonderland with an owner ID of 1205 and a contact e-mail of [email protected]

INSERT INTO Owner

VALUES (1205, ‘Wonderland’, ‘Alice’, ‘[email protected]‘)

  1. Update player 323’s salary to $1,800,000

UPDATE Player

salary = 1800000

WHERE player_id = 323

  1. Display all players whose salary is greater than $1,000,000

SELECT FROM Player

WHERE salary > 1000000

  1. Delete owner Jerry Jones from the database

DELETE FROM Owner

last_name = “Jones” AND first_name = “Jerry”

  1. Update game 0105 with the final score

UPDATE Game

SET home_score = 17,

    visitors_score = 23

Note: For this assignment, you will use Microsoft Access 2010 to open the database file provided. If you do not have Microsoft Access 2010, you may download a free trial version of Microsoft Office 2010, which includes Microsoft Access 2010, from the Microsoft website.

Tasks:

  1. Open the Microsoft Access file “Football.accdb” by double-clicking on it. You will see the small database created for the fantasy football league.
  2. Familiarize yourself with the database by opening and examining the data in each table.
  3. There are two queries included with the database that will display some of the information contained in the tables. Double-click each of these to see the results of the query.

Once you are familiar with the database, proceed to the next section.

    1. Examine and Correct the Faulty SQL Statements
      1. For each SQL statement listed above, identify the SQL statement errors.
      2. Once you have identified the errors, rewrite the SQL statements so that they will work.

Note: Take special precautions with Statement 5 above. If you run the statement as it is written above, you will overwrite the scores of all of the existing games in the database.

    1. Execute the Statements
      1. On the Create tab, in the Queries group, click Query Design.
      2. When prompted to add tables, click the Close button.
      3. On the Query Tools Design tab, in the Results group, click on the down arrow below the word View and select SQL View. This is where you will compose your SQL statements. Feel free to type the statements above into the SQL View window and run them (see Step 4) to view the errors. (Note: Take special precautions with Statement 5 above. If you run the statement as it is written above, you will overwrite the scores of all of the existing games in the database.)
      4. To run your SQL statements against the database, click the Runbutton in the Results group. You will be prompted to confirm that you want to modify data in your database. Click Yes. Close the query and save it as “Statement n”, where n is the statement number listed above. For example, you will save the first statement as “Statement 1”.
      5. Repeat this process for each SQL statement provided above.
      6. Once you have completed correcting the SQL statements, save and exit the database.

Save your database as M4_A2_Lastname_Firstname.accdb.

  1. Explain the SQL Statement Errors
    1. Create a Microsoft Word document explaining what was wrong with each of the five originally written SQL statements. Include any additional comments that you might have about the statements.

      Save your document as M4_A2_Lastname_Firstname.doc.

Submission Details:

  • Save your deliverables as M4_A2_Lastname_Firstname.zip.
  • By Wednesday, July 27, 2016, submit both the files to the M4 Assignment 2 Dropbox.

Assignment 2 Grading CriteriaMaximum PointsCorrected the faulty SQL statements.40Explained the SQL statement errors.40Wrote in a clear, concise, and organized manner; demonstrated ethical scholarship in accurate representation and attribution of sources (i.e., APA); and displayed accurate spelling, grammar, and punctuation.20Total:100

Calculate the price
Make an order in advance and get the best price
Pages (550 words)
$0.00
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
How it works
Receive a 100% original paper that will pass Turnitin from a top essay writing service
step 1
Upload your instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
Pro service tips
How to get the most out of your experience with Lets Write For You
One writer throughout the entire course
If you like the writer, you can hire them again. Just copy & paste their ID on the order form ("Preferred Writer's ID" field). This way, your vocabulary will be uniform, and the writer will be aware of your needs.
The same paper from different writers
You can order essay or any other work from two different writers to choose the best one or give another version to a friend. This can be done through the add-on "Same paper from another writer."
Copy of sources used by the writer
Our college essay writers work with ScienceDirect and other databases. They can send you articles or materials used in PDF or through screenshots. Just tick the "Copy of sources" field on the order form.
Testimonials
See why 20k+ students have chosen us as their sole writing assistance provider
Check out the latest reviews and opinions submitted by real customers worldwide and make an informed decision.
11,595
Customer reviews in total
96%
Current satisfaction rate
3 pages
Average paper length
37%
Customers referred by a friend
OUR GIFT TO YOU
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat