Question
ERD to Relational Schema

Exercise 5 address_no street oid name city (house_no HOUSE owned_by OWNER rentalprice have represent name eid birth_date PHON
0 0
Add a comment Improve this question Transcribed image text
Answer #1

pk Owner oid Name nk House pk House_No address_no street city rentalprice oid fk eid Employee eid name birthdate city rentalp

we have to make four table House,Owner,Phone,Employee

for supervise in employe extra column added in Employee table as super_eid

Add a comment
Know the answer?
Add Answer to:
ERD to Relational Schema Exercise 5 address_no street oid name city (house_no HOUSE owned_by OWNER rentalprice...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Question 5: ERD and Relational Schema 10 marks Figure 1 shows an ER diagram for a...

    Question 5: ERD and Relational Schema 10 marks Figure 1 shows an ER diagram for a university dining services organization that provides dining services to a university. 1- Transform the diagram to a set of relations and develop a relational schema (5 marks) Find the functional dependencies in the relations and determine their normal forms (5 2- marks) MENU EVENT Served at Event ID Menu ID Event Location Menu Description Event Time Menu Type Contains Supervises DISH WORK SCHEDULE STAFF...

  • TM-315 DATABASE SYSTEMS Please help me to draw an ERD and the Relational Schema and please...

    TM-315 DATABASE SYSTEMS Please help me to draw an ERD and the Relational Schema and please mark the Primary and Foreign Key ..... Deliverable: Word document with grade sheet followed by Part 1 ERD and the Part 2 relational schema. Part 1: Draw the ERD for the following situation. 8 pts Be sure to: Convert all many-to-many relationships to associative entities. Make sure each regular entity has an appropriate identifier. Make sure attribute names are unique within the ERD Wally...

  • Question : Map the below ERD into the relational schema and explain the steps for mapping...

    Question : Map the below ERD into the relational schema and explain the steps for mapping showing the tables that have been designed. Should ensure that all tables are fully normalised. FIRSTNAME LASTNAME BASICSALARY (NAME) EMPLOYEEID ADDRESS ACCOUNTNO CONTACT EMPLOYEE PRODUCTNAME ISA PRODUCTID PRICE PRODUCT QUANTITY MANAGES MANAGES PAYROLLOFFICE SALESOFFICER PURCHASEOFFI CER PROVIDED BY> ORDERS FROM SUPPLIERID FIRSTNAME PROCESSES MANAGES CUSTOMERID (NAME) CONTACT TOTAL LASTNAME SUPPLIER CUSTOMERAH MAKES TA ORDER PAYID ADDRESS PAYROLL SUPPLIERNAME BONUS ORDERID DATE STAFFID TOTALNETPAY CONTACT...

  • 1. Given the following database schema owner(owner_name, age) owns(owner_name, num_cats) Write relational algebra for the following:...

    1. Given the following database schema owner(owner_name, age) owns(owner_name, num_cats) Write relational algebra for the following: Find the name of all owners above the age of 50 Find the name of all owners who own fewer than 5 cats Find the name of all owners who are below the age of 24 and own more than 4 cats 2. Given the following database schema person(name, age, account_id) account(account_id, balance) Write a relational algebra for the following Find the name of...

  • Consider the following schema: SUPPLIERS (SID: integer, SNAME: string, STREET: string, CITY: string, ZIP: string) PARTS...

    Consider the following schema: SUPPLIERS (SID: integer, SNAME: string, STREET: string, CITY: string, ZIP: string) PARTS (PID: integer, PNAME: string, COLOR: string) CATALOG (SID: integer, PID: integer, COST: real) The primary key attributes are underlined, and the domain of each attribute is listed after the attribute name. Thus, SID is the primary key for SUPPLIERS, PID is the primary key for PARTS, and SID and PID together form the primary key for CATALOG. Attribute SID in CATALOG is a foreign...

  • Given the following relational schema, write queries in SQL to answer the English questions. The Access...

    Given the following relational schema, write queries in SQL to answer the English questions. The Access Database for the schema is available, as is a DDL file. It is also available on the MySQL server. You must only submit the SQL for your answers. You can get your answers without using a DBMS or by using Access or MySQL. Customer(cid: integer, cname: string, address: string, city: string, state: string) Product(pid: integer, pname: string, price: currency, inventory: integer) Shipment(sid: integer, cid:...

  • SQL: The schema name should be mxxws, where mxx is your MySQL user name. To refresh...

    SQL: The schema name should be mxxws, where mxx is your MySQL user name. To refresh your memory – here is the schema for that database: Create the rest of the contact management database by writing the statements that do each of the following items below. For each one: (1) execute them on your copy of the database, and (2) write the statements in the space: Statement to create the Contact table (one statement) Statement to create the Employee table...

  • I need help with this please, I'm very confused. Given the following relational model database schema:...

    I need help with this please, I'm very confused. Given the following relational model database schema: GUEST (email, address, phone_no, name) (phone_no) is a candidate key. Email and address are long strings, phone_no and name are also strings. TYPE (code, description) The type code is a numeric code and the description a length varying string. AMENITY (code, description) The amenity code is a numeric code and the description a length varying string. CITY (city_id, name, state, country) The city identification...

  • Visual Studios Help Text file named Vendor.txt (vendor#, name, street, city, state, zip, phone): 1,FCC,445 12th Street SW, Washington,DC,20554,888-225-5322 2, U.S, Copyright Office, 101 Independenc...

    Visual Studios Help Text file named Vendor.txt (vendor#, name, street, city, state, zip, phone): 1,FCC,445 12th Street SW, Washington,DC,20554,888-225-5322 2, U.S, Copyright Office, 101 Independence Ave, Washington, DC, 20559,202-707-3000 3,CDC,1600 Clifton Road,Atlanta,GA,30333,800-323-4636 4,White House, 1600 Pennsylvania Avenue NW, Washington,DC,20500,202-456-1111 5,Labor Statistics,Postal Sq Bldg,2 Mass Ave,Washington,DC,20212,800-877-8339 6,AMTRAK,60 Massachusetts Avenue NE,Washington,DC,20002,800-523-6590 7,U.S. Air Force,1690 Air Force Pentagon,Washington,DC,20330-1670,800-423-8723 8,National Guard,111 South George Mason Dr,Arlington,VA,22204,800-864-6264 9,Office of Govt Ethics,1201 New York Ave,Washington,DC,20005,202-482-9300 10,IRS,1111 Constitution Ave NW,Washington,DC,20224,800-829-1040 Windows Forms App (NET Framework) Visual C# Exercise...

  • [Relational Algebra] Using the above information, please write relational algebra expressions and display tables to answer...

    [Relational Algebra] Using the above information, please write relational algebra expressions and display tables to answer the following. Do NOT write in SQL code. 1. Select all staff that happen to be female with a salary more than $20,000 2. List all staff that happen to have a salary between $20,000 and $30,000 Branch branch No street city postcode BOOS BOO7 воод 3004 BOOZ 22 Deer Rd London SWI4EH 16 Argyll St Aberdeen A235U 163 Main St Glasgow GII YOX...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT