Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

A kind of Yelp but for mechanics only: Suppose you are in charge of a community

ID: 3757579 • Letter: A

Question

A kind of Yelp but for mechanics only: Suppose you are in charge of a community website that helps people find auto mechanics in their area. Users may post ratings and reviews of auto mechanics but they need to register first. You want to design a database for this website with the following features:

Each registered user has a unique user name, a first name, last name, address information and e-mail address; however, your public website displays only the user name.  

For each mechanic, you want to store the name, address, phone number, and website URL.

Each review is posted by a single user about a single mechanic, and consists of a service quality rating on a scale of 1 to 5, service cost, and comments.  

Each user may review many mechanics, but is only allowed to make one review per mechanic.

Question: How many tables do you need to design a DB for this situation?

(a) Two tables: USER and REVIEW

Two tables: MECHANIC and USER

Three: MECHANIC, USER, and REVIEW

Four: MECHANIC, USER, REVIEW, and WEBSITE

(a) Two tables: USER and REVIEW

(b)

Two tables: MECHANIC and USER

(C)

Three: MECHANIC, USER, and REVIEW

(d)

Four: MECHANIC, USER, REVIEW, and WEBSITE

Explanation / Answer

Option c

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote