Concept explainers
Explanation of Solution
Name of spreadsheet: COMPANY
Column names:
Name | IndustryCode | Gross Sales | OfficerName | OfficerTitle |
The above spreadsheet contains Name, IndustryCode, Gross Sales, OfficerName, and OfficerTitle.
Divide the columns into tables with single theme:
Industry details:
Industry_id | Name | IndustryCode |
1 | SUN | 352-765 |
2 | Anime | 654-123 |
Officer details:
Officer_id | OfficerName | OfficerTitle |
1 | Ram Kumar | ceo |
2 | Rajesh | Project Head |
Sales details:
Industry_id | Officer_id | Gross Sales |
1 | 1 | 23000000 |
2 | 2 | 45000000 |
1 | 2 | 50000000 |
- 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:
Name | IndustryCode | Gross Sales | NameOfOwner |
The above spreadsheet contains Name, IndustryCode, Gross Sales and NameOfOwner.
Divide the columns into tables with single theme:
Industry details:
Industry_id | Name | IndustryCode | NameOfOwner |
1 | SUN | 352-765 | XXX |
2 | Anime | 654-123 | YYY |
Sales:
Industry_id | Gross Sales |
1 | 23000000 |
2 | 45000000 |
1 | 50000000 |
- 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:
SerialNumber | Make | Model | DiskType | DiskCapacity |
The above spreadsheet contains SerialNumber, Make, Model, DiskType and DiskCapacity...
Want to see the full answer?
Check out a sample textbook solutionChapter 1 Solutions
Database Concepts (8th Edition)
- A link like the second course can be built from a collection of many-to-one relationships. Do the main and foreign key restrictions impose the many-to-one cardinality limitation on the relation? What makes you believe that is?arrow_forwardMySQL is a source database engine. Before continuing, make sure all fields are accurate.arrow_forwardIf a relational database can't allow many-to-many links, can you provide any examples? Let us know about them if you have any.arrow_forward
- Suppose the Publication schema with the specified functional dependencies: Publication (Title, Author, Book_type, Author_affil, ISBN) The functional dependencies hold for this schema: Title -> Author, Book_type Book_type,Author_affil -> ISBN Author-> Author_affil ISBN -> Title What is the highest normal form it is in? Find a lossless-join decomposition into BCNF for the Publication schema.arrow_forwardIn the context of front-end web development, describe the key differences between server-side data binding and client-side data binding.arrow_forwardSuppose we have a relational database with five tables. table key Attributes S(sid, A) Sid T(tid, B) Tid U(uid, C) Uid R(sid, tid, D) sid, tid Q(tid, uid, E) tid, uid Here R implements a many-to-many relationship between the entities implemented with tables S and T, and Q implements a many-to-many relationship between the entities implemented with tables T and U. A. Write an SQL query that returns all records of the form sid, uid where sid is the key of an S- record and uid is the key of a U-record and these two records are related through the relations R and Q. Use SELECT and not SELECT DISTINCT in your query. B. Write an SQL query that returns records of the form A, C where the A-value is from an S- record and the C-value is from a U-record and these two records are related through the relations R and Q. Use SELECT and not SELECT DISTINCT in your query. C. Could one of your queries from parts (a) and (b) return more records than the other? If so, which one? Justify your answer. D.…arrow_forward
- Suppose we have a relational database with five tables. table key Attributes S(sid, A) Sid T(tid, B) Tid U(uid, C) Uid R(sid, tid, D) sid, tid Q(tid, uid, E) tid, uid Here R implements a many-to-many relationship between the entities implemented with tables S and T, and Q implements a many-to-many relationship between the entities implemented with tables T and U. A. Write an SQL query that returns all records of the form sid, uid where sid is the key of an Srecord and uid is the key of a U-record and these two records are related through the relations R and Q. Use SELECT and not SELECT DISTINCT in your query. B. Write an SQL query that returns records of the form A, C where the A-value is from an Srecord and the C-value is from a U-record and these two records are related through the relations R and Q. Use SELECT and not SELECT DISTINCT in your query. C. Could one of your queries from parts (a) and (b) return…arrow_forwardA link like the second course may be built from a collection of many-to-one connections. Do the main and foreign key restrictions impose the many-to-one cardinality limitation on the relation? What makes you believe that is?arrow_forwardWhat is cascading filter in tableau?arrow_forward
- Explain why an acquisition hash would be the same and why they would be different in EnCase.arrow_forwardWRITE THE OF MYSQL IN PYTHON, JUST ANSWER THE 2ND QUESTION BY LOOKING AT THE FIRST QUESTION Create database and tables as given below by using Python. (a) Market database (b) Vendor: vendor id integer, vendor name varchar, license start date, license end date (c) Item:itemidinteger,itemnamevarchar,itemtypevarchar, previous price float, last sold date date (d) Auction: auction id integer, vendor id integer, item id integer, price float Choose primary and foreign keys depending on the relations in Market database design. Create arrays of at least 5 di↵erent records. Use these arrays to populate each table in the database.arrow_forwardCreate a database whose tables are at least in 2NF, showing the dependency diagrams for each table.arrow_forward
- Np Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:Cengage