Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A perfume company called Heaven Fragrant wants to find out about products that customers and employees are in favor of to increase the production line.

A perfume company called Heaven Fragrant wants to find out about products that customers and employees are in favor of to increase the production line. For that, you are requested to create the tables below:

Table A: Create a table and call EmployeesTable. Select a list of employees with a minimum 10 members consisting of employeeID, FirstName, LastName, HomeAddress, OfficePhone, Department, and FavoriteProducts.

Table B: Create another table and call it CustomersTable. It includes CustomerID, Name, BillingAddress, CreditCard and FavoriteProducts.

  1. We want to relate the employees to the Customers Table. What is the best way to do that? Create the above-mentioned tables with the use of SQL Editor and share your code. [10 Marks]
  2. Try to reorder the data based on the customer's first names initially then reorder again based on the products that have become most peoples favorite. Share your final tables and SQL code if any.

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

Information Systems Management

Authors: Barbara McNurlin

8th Edition

0132437155, 9780132437158

More Books

Students also viewed these General Management questions