Question

You are designing a new database to track corporate customers and their monthly billing. The database...

  1. You are designing a new database to track corporate customers and their monthly billing. The database consists of customer data and lookup tables. Explain how you would choose the primary keys for the entities you are creating.  
  2. What are some of the potential risks that arise when using surrogate keys in place of natural keys?
0 0
Add a comment Improve this question Transcribed image text
Answer #1

In the given question, for creating a database of the customers and their monthly billing, the primary key to be choosen should be a  uniquely identified key which represents a particluar record. In other words, it should be unique to every record and cannot be same for two records. Therefore, it should be chosen in such a way such that, it isuniques to every corporate customer. For Eg: It can be some Id allotted to them

In the second part, risk of surrogate keyin place of natural key is to be provided, before which we need to know the meaning of both.

Natural Key: It is that value which naturally exists in the record and has relation with the table whereas Surrogate Key is a made up value only for the purpose of uniquely identifying a column and does not naturallu exist but is made up.

Now the risk of using surrogate keys instead of natural keys:

  • It can be misleading as it carries no relevance in the data
  • Transfering data might be become difficult as the new database should not have same surrogate keys
  • Excess usage of space because of extra space
  • Sometimes, creating surrogate key becomes difficult
Add a comment
Know the answer?
Add Answer to:
You are designing a new database to track corporate customers and their monthly billing. The database...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • You are asked to build a database to track surveys that will be sent out to customers and their responses to those surveys. Customers can respond to a survey only once. List the table names as well as...

    You are asked to build a database to track surveys that will be sent out to customers and their responses to those surveys. Customers can respond to a survey only once. List the table names as well as the primary and foreign keys in those tables. No other columns other than the keys need to be listed. Example expected output style: [table1name] column1name (PK) [table2name] column1name (PK) column2name (PK) column3name (FK)

  • You are designing a table for employee data of a company. You have a requirement to...

    You are designing a table for employee data of a company. You have a requirement to identify if an employee is a United States citizen or not. You have designed a table called EMPLOYEE to store information related to each employee and you have a column called US CITIZEN INDICATOR to store if an employee is a US citizen or not. You only want to store values "Y" or "N" in this column. From the following options, what is the...

  • Describe in detail the target customers You are an entrepreneur who is designing a new line of boutique hotels located...

    Describe in detail the target customers You are an entrepreneur who is designing a new line of boutique hotels located along Florida's coastlines. Each of the 90 guest rooms in each hotel will offer upscale decor, Wi-Fi, and iPod docks for a nightly rate of $300. The hotels will have an on-site restaurant and a separate full-service bar that features local musicians. Describe in detail the demographics-age, gender family life cycle, income and social class, ethnicity, and place of residence-of...

  • John owns a portfolio of rental properties with his parterns. He wants to develop a database...

    John owns a portfolio of rental properties with his parterns. He wants to develop a database to store property information as well rental data. Below are some of the data that need to be kept track of. For each property, the database needs to store property address, size, number of rooms and bathrooms, and purchase date. There are two types of properties – single family house and condo. Need to store yard size for single family house and monthly HOA(Home...

  • Due to your experience in designing the database for the "Legendary League" game, you have been...

    Due to your experience in designing the database for the "Legendary League" game, you have been asked to design the ER diagram for a bigger database to manage the events for the "Legendary League" eSports Oceanic Championship (OC). The requirements are as follows: Registered teams compete in the OC. Each team has a name, and a number of team members. A team also maintains a rank throughout the OC, reflecting how well it is doing in the championship. Team members...

  • You will develop an E-Commerce database used to maintain customers, products and sales information. You are...

    You will develop an E-Commerce database used to maintain customers, products and sales information. You are required to 1) gather and analyze requirements 2) design logical structure of the database 3) create stored procedures to develop the tables and insert the data 4) write SQL statements for data extraction and reporting. Throughout the course of this semester you have analyzed the requirements for an eCommerce database, designed and developed your database. As a class we have gone through the process...

  • New to DB's Please help! You are designing and creating a database named COMPANY for an HR (Human Resource) Dept of...

    New to DB's Please help! You are designing and creating a database named COMPANY for an HR (Human Resource) Dept of a Software Consulting Company to manage their employees and their assigned work (projects) in the company First Step to Design and Create a Database is Creating an E-R Diagram by Identifying Entities, Attributes and Relationships between any two Entities to Create a Company Database Scheme. 1. Create an E-R Diagram for the Company database from the raw data files...

  • Your project will require you to develop a database design to solve a real-life data management...

    Your project will require you to develop a database design to solve a real-life data management problem. It can be any problem in your work environment or for another organization, for example, a bookstore (think of how Amazon uses databases), a course management system (think of how a university manages courses), a bank (think of how your bank works), and an online auction site (think of how Ebay works). You will develop a database to solve this problem You will...

  • Overview: Database management plays an integral role in nearly every area of business. Databases house customer, accoun...

    Overview: Database management plays an integral role in nearly every area of business. Databases house customer, accounting, and employee data, and these different data sets must all be efficiently managed in order to make the data accessible. Companies rely on database engineers to ensure that their records are accurate, updated, and tracked in real time. This course covers structured query language (SQL) and how it can be used to manage database schemas, manipulate data, and analyze data. For your final...

  • You are helping a corporation create a new system for keeping track of casinos and customers....

    You are helping a corporation create a new system for keeping track of casinos and customers. The system will be able to record and modify customer and casino information. It will also be able to simulate games in the casino. You may complete this project individually or in a group of no more than 2 other people. Requirements do not change if you choose to complete the project individually or as part of a group. Customer-specific requirements You can create...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT