1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
alex41 [277]
3 years ago
9

You have been hired to design a relational database for a convenience store which is located within an apartment complex. The go

al of the database is to keep track of the inventory sold in hopes of using the data to better meet the customer's convenience store needs. Up until your arrival, the store kept track of each customer’s purchases using a flat database log, as shown in the following table. Using the information provided, build a relational database that will allow for querying things such as products sold, customer purchases, total apartment purchases, and total spent per apartment. Include any created tables and identify the keys and key types that are used. Identify all relationships, labeling them 1:1, 1:N, or M:N.
Name Apt # Products Price Quantity
Joseph Anthony 1125 Orange Juice 4.59 1
Joseph Anthony 1125 Bread Loaf 2.29 1
Yolanda Burns 3221 Milk 3.67 1
Yolanda Burns 3221 Candy Bar 1.19 3
Francis Jordan 1138 Gum 0.99 2
Steve Miller 2221 Gum 0.99 1
Cho Lin 2239 Bread Loaf 2.29 1

Business
1 answer:
Tanzania [10]3 years ago
4 0

Answer:

Apartment (1)=====> (N) Purchases (M) =====> Product(1).

Explanation:

So, in this question we are given the following; Name, Apt # , Products, Price and Quantity. With this data or parameters or information we will be able to know that there should be another parameters in a table which are;

=> Apartment: with this parameter and the apt # each person or Individual can be Identifed.

=> Purchases: this table will be about the details of the person or Individuals the bought the products and what quantity was bought.

=> Product: here, this parameter can be used in saving or storing the name of each products and the prices of each one of them.

Hence;

(1). APARTMENT = Apt#, Name => where Apt# will be the primary key because it is unique.

(2). PRODUCTS= Products, Price => where product is the unique key.

(3). PURCHASES = Apt #, product quantity => where Apt # is a foreign key and an attribute of product in the ''purchases" table.

Kindly check the attachment for the diagram

You might be interested in
According to most​ economists, is it a serious shortcoming of GDP that it does not count household production or production in t
Ghella [55]
<h2>No. "Household production" does not contribute much to the GDP.</h2>

Explanation:

To arrive at the reason, first we need to understand the term "GDP" and "shortcoming"

Shortcoming means failure to meet certain expectations.

GDP: It is the snapshot of the economy which speaks about the production in certain period.

Since the household production does not come under market transaction and since GDP involves only market transaction, household production cannot be considered and thus it is not a serious reason for shortcoming of GDP.

5 0
4 years ago
1. A major controversy that is yet to be resolved about the Medicare Prescription Drug, Improvement and Modernization Act of 200
qaws [65]

Answer:

C. What the program will ultimately cost the federal government

Explanation:

The Medicare Prescription Drug, Improvement, and Modernization Act of 2003 was an attempt to make improvements or amendments to the Social Security Act.  It radically changed the playing field for private plans participating in the Medicare program by substantially raising monthly payment rates in an effort to stabilize the market and reverse the decline in benefit generosity.  It also provided for voluntary prescription drugs under the medicare program.  However, the utilization and cost of the program skyrocketed as soon as the funding source was established.  It has remained unknown what the program will ultimately cost the federal government, no wonder the current administration under Trump wants to turn it upside down.

3 0
3 years ago
jillian currently has $500 in an account with an annual rate of return of 4.3%. she has set a goal to travel and would like to h
Alchen [17]

Jillian currently has $500 in an account with an annual rate of return of 4.3%.She needs to save $46.07 each month for the trip to Hawaii

The $500 in her account will grow to =500*(1+0.043)^4 = 591.71

So she has to save 3000-591.71 = 2,408.29

The 2,408.29 becomes the FV and we have to calculate the PMT with a monthly rate of 0.043/12 and nper = 4*12 =48. We use the PMT function of excel

So she needs to save each month =PMT(rate,nper,pv,fv)  in excel = PMT(0.043/12,48,0,2408.29) = 46.07

So she needs to save $46.07 each month for the trip to Hawaii

Rate of return is a profit on funding. It accommodates any trade in value of the investment, and/or cash flows which the investor gets from that funding, which include interest payments, coupons, coins dividends, inventory dividends or the payoff from a spinoff or based product.

Learn more about rate of return here:brainly.com/question/24301559
#SPJ4

5 0
2 years ago
Rossiter Restaurants is analyzing a project that requires $180,000 of fixed assets. When the period ends, those assets are expec
stealth61 [152]

Answer:

b) cash inflow in the final year of the project

Explanation:

Aftertax salvage value is the net proceeds from the sale or disposal of fixed assets like Plant and Equipment (PPE) at the end of the project. The amount of money received is an income and therefore, tax must be paid on it and the company keeps the rest.

The after tax salvage value of a fixed asset used in a project , is included in the NPV calculation . It is a terminal cashflow and is part of the project since the assets being sold are used in production of the items that Rossiter Restaurants sell. However, it is important to note that you will use the PV of the after tax salvage value with the PV of other cash inflows and initial investment amount to find the NPV of the project.

8 0
4 years ago
6.3) Annie Lennox recently took over a cleaning supply store. Her predecessor always ordered carpet shampoo in quantities of 100
nata0808 [166]

Answer:

Annie should increase the order size to 148 bottles per order and she will be able to save $91.85 per year.

Explanation:

we must calculate the economic order quantity (EOQ) in order to determine the size of the order that reduces costs:

EOQ = √[(2 x S x D) / H]

  • S = cost per order = $35
  • D = annual demand = 2,500 bottles of shampoo
  • H = holding cost per unit) = $8

EOQ = √[(2 x 35 x 2,500) / 8] = √(175,000 / 8) = √21,875 = 147.90 ≈ 148 bottles of shampoo

total cost when ordering 100 bottles = (25 orders x $35) + (100/2 x $8) = $875 + $400 = $1,275

total cost when ordering 148 bottles = (16.89 orders x $35) + (148/2 x $8) = $591.15 + $592 = $1,183.15

Annie will save $1,275 - $1,183.15 = $91.85 per year

7 0
3 years ago
Other questions:
  • In terms of per capita government spending, texas __________.
    14·1 answer
  • What kind of good is It? Determine whether each of the following goods is a private good, a public good, a common resource, or a
    12·1 answer
  • The university president believes that increasing student tuition by 5% will increase revenues. if the president is correct that
    11·1 answer
  • You are considering purchasing one of two assets. Asset 1 has payments of 5,000 at the end of year 1, 10,000 at the end of year
    6·1 answer
  • A business buys motors that it uses to make blenders and mixers. The motors are an example of?
    7·1 answer
  • A television costs $100, but a new excise tax law imposes a $5 tax on the sale of the set. If Takeshi wants to buy a television,
    14·1 answer
  • Determine the following measures for 20Y2 (round to one decimal place, including percentages, except for per-share amounts): Ass
    10·1 answer
  • Monczka-Trent Shipping is the logistics vendor for Handfield Manufacturing Co. in Ohio. Handfield has daily shipments of a power
    6·1 answer
  • New technology in ________ allows producers to use materials from all over the world to manufacture goods.
    9·2 answers
  • Apple has a very high customer equity (CE) value. Apple has gained this high CE value due to
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!