Database Concepts (7th Edition)
Database Concepts (7th Edition)
7th Edition
ISBN: 9780133544626
Author: David M. Kroenke, David J. Auer
Publisher: PEARSON
bartleby

Concept explainers

Expert Solution & Answer
Book Icon
Chapter 1, Problem 1.33E

Explanation of Solution

Name of spreadsheet: COMPANY

Column names:

NameIndustryCodeGross SalesOfficerNameOfficerTitle
     

The above spreadsheet contains Name, IndustryCode, Gross Sales, OfficerName, and OfficerTitle.

Divide the columns into tables with single theme:

Industry details:

Industry_idNameIndustryCode
1SUN352-765
2Anime654-123

Officer details:

Officer_idOfficerNameOfficerTitle
1Ram Kumarceo
2Rajesh Project Head

Sales details:

Industry_idOfficer_idGross Sales
1123000000
2245000000
1250000000
  • Number of themes: Three
  • Name of the theme: Industry details, officer details, and Sales

Assumptions:

In the above spreadsheet, there are three themes. One of the themes is about industry which is specified through the heading of Name and IndustryCode. The other theme is about officer who is specified through the heading of OfficerName and OfficerTitle. The final theme is about sales which are specified through the heading of Gross Sales.

  • Industry – It contains Industry_id, Name and IndustryCode attributes. The Industry_id is the primary key of the Industry table.
  • Officer – It contains Officer_id, OfficerName, and OfficerTitle attributes. The Officer_id is the primary key of the Officer table.
  • Sales – It contains Industry_id, Officer_id, and Gross Sales attributes.

Name of spreadsheet: COMPANY

Column names:

NameIndustryCodeGross SalesNameOfOwner
    

The above spreadsheet contains Name, IndustryCode, Gross Sales and NameOfOwner.

Divide the columns into tables with single theme:

Industry details:

Industry_idNameIndustryCodeNameOfOwner
1SUN352-765XXX
2Anime654-123YYY

Sales:

Industry_idGross Sales
123000000
245000000
150000000
  • Number of themes: Three
  • Name of the theme: Industry details and Sales

Assumptions:

In the above spreadsheet, there are three themes. One theme is about industry which is specified through the heading of Name and IndustryCode. The other theme is about president which is specified through the heading of NameOfPresident. The final theme is about a sale which is specified with the heading of Gross Sales.

  • Industry – It contains Industry_id, Name, IndustryCode, and NameOfOwner attributes. The Industry_id is the primary key of the Industry table.
  • Sales – It contains Industry_id, and Gross Sales attributes.

Name of spreadsheet: COMPUTER

Column names:

SerialNumberMakeModelDiskTypeDiskCapacity
     

The above spreadsheet contains SerialNumber, Make, Model, DiskType and DiskCapacity...

Blurred answer
Students have asked these similar questions
A social media application stored information about each registered user in the table create table user (id int primary key auto_increment, name varchar(100) not null) A user can have many "friends" and can also be a "friend" to many other users. Specify how this relationship would be implemented by coding the create table statement(s) for the tables.
Using the WideWorldDistributors database and the Sales schema create a function that takes InvoiceID as an input parameter and returns all the rows from the table InvoiceLines for the InvoiceID value passed into the function. If the result is a NULL return a zero
MySql Workbench CREATE TABLE students (  id INT PRIMARY KEY,  first_name VARCHAR(50),  last_name VARCHAR(50),  age INT,  major VARCHAR(50),  faculty VARCHAR(50)); CREATE TABLE location (  id INT PRIMARY KEY,  name VARCHAR(50),  rooms INT); CREATE TABLE faculty (  id INT PRIMARY KEY,  name VARCHAR(50),  department_id INT); 1. List last name of all students whose first name is longer than 4 letters in ascending order accordingto the last name. Duplicated rows should be removed from the output.2. Count the total number of rooms in Location.3. Find the number of students in each major.4. Find the number of employees in each department who get no commission or have salary less than5000.5. Find the maximum salary of employees in each department that the employee was hired 15 yearsbefore now. *hint: user TIMESTAMPDIFF(<unit type>,<Date_value 1>,<Date_value 2>), the unitcan be YEAR, MONTH, DAY, HOUR, etc...
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
Text book image
Oracle 12c: SQL
Computer Science
ISBN:9781305251038
Author:Joan Casteel
Publisher:Cengage Learning
Text book image
CMPTR
Computer Science
ISBN:9781337681872
Author:PINARD
Publisher:Cengage