Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Draw appropriate Entity-Relationship (E-R) diagram that satisfies the above facts. Indicate the multiplicity of relationships and the key or keys for the entity sets

image text in transcribed

image text in transcribed

1. Draw appropriate Entity-Relationship (E-R) diagram that satisfies the above facts. Indicate the multiplicity of relationships and the key or keys for the entity sets and relationships, and weak and subclass entity sets, whenever exist. Translate the E-R diagram into relational database schema. Indicate the key or keys for each relation. Give appropriate SQL statements to create the database tables and provide the outputs for the following queries: 2. 3. The number of students, and the highest and lowest salaries, for each employer; a. b. he names of students and their best friends, and their respective salaries; c. The names of students whose best friends receive a higher salary than theirs. Show the outputs ordered in ascending order by the student name. Data: STUDENTS: StudentId Name Nurul Amin Candice Baptiste-Sexton Alexis Cruz Tama Dey Jorge Gottman Ariel Martinez Vernon Mckenzie Abiola Olabode Nana Yaw Oppong-Quayson 8 Data for the exercise is entirely arbitrary. You may change the data in any way you wish

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Mike Morrison, Joline Morrison

1st Edition

061901556X, 978-0619015565

More Books

Students also viewed these Databases questions

Question

4. Identify cultural variations in communication style.

Answered: 1 week ago

Question

9. Understand the phenomenon of code switching and interlanguage.

Answered: 1 week ago

Question

8. Explain the difference between translation and interpretation.

Answered: 1 week ago