DBM405A Lab 5 Views Backup and Restore Procedures

I. OBJECTIVES

  1. Understand and become familiar with Tables and Indexes.

II. PARTS LIST

  1. EDUPE Omnymbus Environment (https://devry.edupe.net:8300); and/or
  2. MySQL (dev.mysql.com/downloads).

III. PROCEDURE
By now you have set up either the Omnymbus environment or the MySQL Server Community environment, or both. You may do the labs in this class on your own computer equipped with MySQL or you may use the MySQL environment hosted by the vendor Omnymbus. You may even use both.
Lab Procedure Continued (common to both environments)

  1. Create a view of the database showing the Team Name (TName) and the Players last name (LastName) for all Players in the system.
  2. Create a view of the database showing the current schedule. The view should show the HomeTeam name (TName) and the AwayTeam name (TName) and the PlayDate. The listing should be in chronological order.
  3. Set up a backup procedure and back up your “Baseball” database.
  4. Establish a restore procedure and restore your “Baseball” database from the backup.





The solution includes a zip document.

  • Attachments [Move over files to preview content of those files]
  • Preview DBM405A_Week_5_Script.sql
    --
    xxx xxxxxxxx;
    -- 1. xxxxxx xxxx xxxx & xxxxxxx
    xxxx xxxx xx xxxxxx xxxxxx_xxxx;
    CREATE VIEW Player_Team AS ( SELECT t.TName, p.LastName FROM Players p INNER JOIN Teams t ON p.Team = t.TeamCode ); SELECT *FROM Player_Team;
    -- 2. xxxxxx xxxx xxxxxxx xxxxxxxx
    xxxx xxxx xx xxxxxx xxxxxxx_xxxxxxxx;
    xxxxxx xxxx xxxxxxx_xxxxxxxx xx
    (
    xxxxxx x.xxxxxxxx, xxxxx.xxxxx xx 'xxxx xxxx', xxxxx.xxxxx xx 'xxxx xxxx'
    xxxx xxxxxx x


Price: $15

Buy Now

Buy More Save More
Buy at least TWO items & save up to 30% OFF your ENTIRE order!
Rack up instant rebates in your shopping cart. Simply add items to your cart, and see the savings add up.
Discounts will automatically be applied on eligible orders.

Add to Cart