You are a database developer for a Games company. The company develops games. The company needs to store their games, customers, what games each customer buys, scores of each game that is played. The requirement analysis is given below. For your assignment you should; 1) Draw the ER diagram. 2) Create the relational database. 3) Create tables and make necessary relationships. Be sure to have created constraints. 4) Create a stored procedure to get a daily score report. This report should take parameters game id and the report date. It should display Id, first name, last name of the customer, the date and time and the score. 5)Create triggers for the 6th item of Requirement Analysis (RA). 6) Create a SQL server user for the 7th item of RA. 7) Create jobs for the 8th and 9th items of RA. Requirement Analysis 1) For each game name, first release date, current version, the category (action, strategy, etc.), the platform (mobile, Xbox, Playstation, etc.) should be stored. 2) For each customer first name, last name, nickname, registered date, country, preferred platform information should be stored. 3) The following information is necessary: which game has been bought by each customer, date of purchase and price. For instance, “customer A” bought “Mario” game on 10.01.2021 11:25 and paid 125 euro. 4) We need to know when the customers played the game and the score they reached after they played. For instance, on 11.01.2021 “customer A” played “Mario” at 12:10 and scored 120 points. 5) The total score of the customers for each game they bought should be stored. 6) Some items are sold in the games. The items are different in each game. For instance, diamonds and golds are sold in “Mario” and guns and shields are sold in “Call of Duty”. The items bought by each customer should be stored. The customers gain some points when they buy an item. The points differ from item to item. For instance, when they buy gold they earn 20 points or when they buy gold they earn 10 points. a. When the customer buys an item, the points should be automatically added to the total score of the customer for the current game. b. If the customer cancels the buying process of an item, the points should be removed from the total score of the customer. 7) The finance employee of our company should only see the data of which game has been bought by each customer, date of purchase and price information. He shouldn’t see data except the ones motioned. 8) The highest score for each game should be stored every day at 23:59automatically. If a problem occurs, the system should inform us via email (help@center.com). 9) Our database should be fully backed up every two days at 23:50 automatically.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

You are a database developer for a Games company. The company develops games. The company needs to store their games, customers, what games each customer buys, scores of each game that is played. The requirement analysis is given below. For your assignment you should;

1) Draw the ER diagram.

2) Create the relational database.

3) Create tables and make necessary relationships. Be sure to have created constraints.

4) Create a stored procedure to get a daily score report. This report should take parameters game id and the report date. It should display Id, first name, last name of the customer, the date and time and the score.

5)Create triggers for the 6th item of Requirement Analysis (RA).

6) Create a SQL server user for the 7th item of RA.

7) Create jobs for the 8th and 9th items of RA.

Requirement Analysis

1) For each game name, first release date, current version, the category (action, strategy, etc.), the platform (mobile, Xbox, Playstation, etc.) should be stored.

2) For each customer first name, last name, nickname, registered date, country, preferred platform information should be stored.

3) The following information is necessary: which game has been bought by each customer, date of purchase and price. For instance, “customer A” bought “Mario” game on 10.01.2021 11:25 and paid 125 euro.

4) We need to know when the customers played the game and the score they reached after they played. For instance, on 11.01.2021 “customer A” played “Mario” at 12:10 and scored 120 points.

5) The total score of the customers for each game they bought should be stored.

6) Some items are sold in the games. The items are different in each game. For instance, diamonds and golds are sold in “Mario” and guns and shields are sold in “Call of Duty”. The items bought by each customer should be stored. The customers gain some points when they buy an item. The points differ from item to item. For instance, when they buy gold they earn 20 points or when they buy gold they earn 10 points. a. When the customer buys an item, the points should be automatically added to the total score of the customer for the current game. b. If the customer cancels the buying process of an item, the points should be removed from the total score of the customer.

7) The finance employee of our company should only see the data of which game has been bought by each customer, date of purchase and price information. He shouldn’t see data except the ones motioned.

8) The highest score for each game should be stored every day at 23:59automatically. If a problem occurs, the system should inform us via email (help@center.com).

9) Our database should be fully backed up every two days at 23:50 automatically.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Normalization
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education