Question: can someone sovle thas Data dabse problems , from question 4 to 9 1. Convert the EER diagram below representing users and posts on a

can someone sovle thas Data dabse problems , from question 4 to 9  can someone sovle thas Data dabse problems , from question 4
to 9 1. Convert the EER diagram below representing users and posts
on a discussion board into a collection of tables with constraints. 2.

1. Convert the EER diagram below representing users and posts on a discussion board into a collection of tables with constraints. 2. Write SQL statements to create all of the tables in your answer to the previous question. Use your best judgment to select a plausible domain for each attribute. 3. Write an SQL statement to create a Files table to represent a source file stored in a repository (such as GitHub). Source files need to store the file name, their contents, a version number, the file size, the username of the user who uploaded them, and when they were uploaded. Use your best judgment to determine a reasonable domain for each attribute and a primary key for the table. 4. Write an SQL statement to modify the Files table so that the username it stores represents a user in the Users table. Write relational algebra expressions for the following queries based on the tables below. - Product(SKU, Description, Price, Location) - Guests(CardNo, Name, Address) - Purchase(CardNo, SKC, StoreNum, When, Markdown) - Store(StoreNo. Address, Phone) - Inventory(SKU, StoreNum. Qty) 5. All of the products not carried at store 1416 6. Descriptions of all products purchased by both Laverne Cox and Vanna White. 7. The greatest discount on any product (renaming can be used to calculate a derived attribute; e.g., 100%Markdown/PriceDiscount(.)) 8. The names of all customers whose address doesn't match the address of a store they've shopped at 9. The card numbers of customers who have bought all products (be careful that you don't require them to buy everything on the same day, from the same store, with the same markdown)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!