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
Volgvan
2 years ago
15

James River Jewelry is a small jewelry shop. While James River Jewelry does sell typical jewelry purchased form jewelry vendors,

including such items as rings, necklaces, earrings, and watches, it specializes in hard-to-find Asian jewelry. Although some Asian jewelry is manufactured jewelry purchased from vendors in the same manner as the standard jewelry is obtained, many of the Asian jewelry pieces are often unique single items purchased directly from the artisan who created the piece (the term "manufactured" would be an inappropriate description of these pieces). It has a small but loyal clientele, and it wants to further increase customer loyalty by creating a frequent buyer program. In this program, after every 10 purchases, a customer will receive a credit equal to 50 percent of the sum of his or her 10 most recent purchases. This credit must be applied to the next (or "11th") purchase. Assume that James River designs a database with the following tables. CUSTOMER (CustomerID, LastName, FirstName, Phone, Email) PURCHASE (InvoiceNumber, InvoiceDate, PreTaxAmount, CustomerID) PURCHASE_ITEM (InvoiceNumber, ItemNumber, RetailPrice) ITEM (ItemNumber, Description, Cost, ArtistName) The referential integrity constraints are: CustomerID in PURCHASE must exist in CustomerID in CUSTOMER InvoiceNumber in PURCHASE_ITEM must exist in InvoiceNumber in PURCHASE ItemNumber in PURCHASE_ITEM must exist in ItemNumber in ITEM Assume that CustomerID of CUSTOMER, ItemNumber of ITEM, InvoiceNumber of PURCHASE, and ItemNumber of PURCHASE_ITEM are all surrogate keys with values as follows: CustomerID Start at 1 Increment by 1 InvoiceNumber Start at 1 Increment by 1 ItemNumber Start at 1 Increment by 1 Write SQL statements and answer questions for this database as follows: A. Write SQL CREATE TABLE statements for each of these tables. B. Write foreign key constraints for the relationships in each of these tables. Make your own assumptions regarding cascading deletions and justify those assumptions. (Hint: You can combine the SQL for your answers to parts A and B.) C. Write SQL statements to insert at least three rows of data into each of these tables. Assume that surrogate key column values will be supplied by the DBMS. D. Write SQL statements to list all columns for all tables. E. Write an SQL statement to list ItemNumber and Description for all items that cost more than $100. F. Write an SQL statement to list ItemNumber and Description for all items that cost more than $100 and were produced by an artist with a last name ending with the letters son. G. Write an SQL statement to list LastName and FirstName of customers who have made at least one purchase with PreTaxAmount greater than $200. Use a subquery. H. Answer part G but use a join using JOIN…ON syntax. I. Write an SQL statement to list LastName and FirstName of customers who have purchased an item that costs more than $50. Use a subquery. J. Answer part I but use a join using JOIN…ON syntax K. Write an SQL statement to list LastName and FirstName of customers who have purchased an item that was created by an artist with a last name that begins with the letter J. Use a subquery. L. Answer part K but use a join using JOIN…ON syntax M. Write an SQL statement to show the Name and sum of PreTaxAmount for each customer using JOIN…ON syntax. N. Write an SQL statement to show the sum of PreTaxAmount for each artist (hint: the result will have only one line per each artist). Use a join using JOIN…ON syntax, and sort the results by ArtistLastName in ascending order. O. Write an SQL statement to show the sum of PreTaxAmount for each ArtistName but exclude any items that were part of purchases with PreTaxAmount less than $25. Use a join using JOIN…ON syntax, and sort the results by ArtistLastName in descending order. P. Write an SQL statement to show which customers bought which items, and include any items which have not been sold. Includes CUSTOMER.LastName, CUSTOMER.FIRSTName, InvoiceNumber, InvoiceDate, ItemNumber, ItemDescription, ArtistLastName, and ArtistFirstName. Use a join using JOIN…ON syntax, and sort the results by ArtistLastName and ArtistFirstName in ascending order. Q. Write an SQL statement to modify all ITEM rows with an artist last name of Baxter to an artist first name of Rex. R. Write SQL statements to switch the values of ArtistLastName so that all rows currently having the value Baker will have the value Baxter, and all rows currently having the value Baxter will have the value Baker.

Engineering
1 answer:
Sveta_85 [38]2 years ago
7 0

Answer:

This question is comprising many parts (a to r). That is impossible to answer in one sheet. Following are attached images having answers to most of the parts.

I hope it will help you a lot.

Explanation:

You might be interested in
A Geostationary satellite has an 8kW RF transmission pointed at the earth. How much force does that induce on the spacecraft? (N
soldier1979 [14.2K]

Answer:

The force induced on the aircraft is 2.60 N

Solution:

As per the question:

Power transmitted, P_{t} = 8 kW = 8000 W

Now, the force, F is given by:

P_{t} = Force(F)\times velocity(v) = Fv               (1)

where

v = velocity

Now,

For a geo-stationary satellite, the centripetal force, F_{c} is provided by the gravitational force, F_{G}:

F_{c} = F_{G}

\frac{mv^{2}}{R} = \frac{GM_{e}m{R^{2}}

Thus from the above, velocity comes out to be:

v = \sqrt{\frac{GM_{e}}{R}}

v = \sqrt{\frac{6.67\times 10^{- 11}\times 5.979\times 10^{24}}{42166\times 10^{3}}} = 3075.36 m/ s

where

R = R_{e} + H

R = \sqrt{GM_{e}(\frac{T}{2\pi})^{2}}

where

G = Gravitational constant

T = Time period of rotation of Earth

R is calculated as 42166 km

Now, from eqn (1):

8000 = F\times 3075.36

F = 2.60 N

6 0
3 years ago
Technician a s ays both an ohmmeter and a self-powered test light may be used to test for continuity. technician b says both may
amm1812

Both A and B technicians are correct because both might be used to test fuses, according to technician B.

<h3>What is continuity?</h3>

The behavior of a function at a certain point or section is described by continuity. The limit can be used to determine continuity.

From the question:

We can conclude:

The technician claims that you may check for continuity using both an ohmmeter and a self-powered test light. Both might be used to test fuses, according to technician B.

Thus, both A and B technicians are correct because both might be used to test fuses, according to technician B.

Technician A says both an ohmmeter and a self-powered test light may be used to test for continuity. Technician B says both may be used to test fuses. Who is correct?

Learn more about the continuity here:

brainly.com/question/15025692

#SPJ1

5 0
1 year ago
______ are an idication that your vehicle may be developing a cooling system problem.
iris [78.8K]

Answer:

The temperature gauge showing that the vehicle has been running warmer or has recently began to have issues from overheating is  an idication that your vehicle may be developing a cooling system problem.

Explanation:

8 0
2 years ago
A thick aluminum block initially at 26.5°C is subjected to constant heat flux of 4000 W/m2 by an electric resistance heater whos
Yanka [14]

Given Information:

Initial temperature of aluminum block = 26.5°C

Heat flux = 4000 w/m²

Time = 2112 seconds

Time = 30 minutes = 30*60 = 1800 seconds

Required Information:

Rise in surface temperature = ?

Answer:

Rise in surface temperature = 8.6 °C after 2112 seconds

Rise in surface temperature = 8 °C after 30 minutes

Explanation:

The surface temperature of the aluminum block is given by

T_{surface} = T_{initial} + \frac{q}{k} \sqrt{\frac{4\alpha t}{\pi} }

Where q is the heat flux supplied to aluminum block, k is the conductivity of pure aluminum and α is the diffusivity of pure aluminum.

After t = 2112 sec:

T_{surface} = 26.5 + \frac{4000}{237} \sqrt{\frac{4(9.71\times 10^{-5}) (2112)}{\pi} }\\\\T_{surface} = 26.5 + \frac{4000}{237} (0.51098)\\\\T_{surface} = 26.5 + 8.6\\\\T_{surface} = 35.1\\\\

The rise in the surface temperature is

Rise = 35.1 - 26.5 = 8.6 °C

Therefore, the surface temperature of the block will rise by 8.6 °C after 2112 seconds.

After t = 30 mins:

T_{surface} = 26.5 + \frac{4000}{237} \sqrt{\frac{4(9.71\times 10^{-5}) (1800)}{\pi} }\\\\T_{surface} = 26.5 + \frac{4000}{237} (0.4717)\\\\T_{surface} = 26.5 + 7.96\\\\T_{surface} = 34.5\\\\

The rise in the surface temperature is

Rise = 34.5 - 26.5 = 8 °C

Therefore, the surface temperature of the block will rise by 8 °C after 30 minutes.

5 0
2 years ago
A fire hose nozzle has a diameter of 1.125 in. According to some fire codes, the nozzle must be capable of delivering at least 2
Furkat [3]

Answer:

P_{1} = 403,708\,kPa\,(58.553\,psi)

Explanation:

Let assume that changes in gravitational potential energy can be neglected. The fire hose nozzle is modelled by the Bernoulli's Principle:

\frac{P_{1}}{\rho\cdot g} = \frac{P_{2}}{\rho \cdot g} + \frac{v^{2}}{2\cdot g}

The initial pressure is:

P_{1} = P_{2}+ \frac{1}{2}\cdot \rho v^{2}

The speed at outlet is:

v=\frac{\dot Q}{\frac{\pi}{4}\cdot D^{2}}

v=\frac{(250\,\frac{gal}{min} )\cdot (\frac{3.785\times 10^{-3}\,m^{3}}{1\,gal} )\cdot(\frac{1\,min}{60\,s} )}{\frac{\pi}{4}\cdot [(1.125\,in)\cdot(\frac{0.0254\,m}{1\,in} )]^{2} }

v\approx 24.592\,\frac{m}{s}\,(80.682\,\frac{ft}{s} )

The initial pressure is:

P_{1} = 101.325\times 10^{3}\,Pa+\frac{1}{2}\cdot (1000\,\frac{kg}{m^{3}} )\cdot (24.592\,\frac{m}{s} )^{2}

P_{1} = 403,708\,kPa\,(58.553\,psi)

7 0
3 years ago
Read 2 more answers
Other questions:
  • Communication "works" to the degree that a wide variety of information is completely and thoroughly shared among the parties, an
    13·1 answer
  • Before you calculate the moment capacity for a steel beam, you have to determine the classification of beam.
    10·1 answer
  • Who is the best musician in Nigeria<br>​
    11·2 answers
  • It has been estimated that 139.2x10^6 m^2 of rainforest is destroyed each day. assume that the initial area of tropical rainfore
    12·1 answer
  • 1. Pump extracts energy from a flowing fluid. _______
    10·1 answer
  • Lets try to get to 100 sub before charismas day <br> Jordan Gracia 32 sub and 5 videos
    13·2 answers
  • Tech A says that some relays are equipped with a suppression diode in parallel with the winding. Tech B says that some relays ar
    10·1 answer
  • An ideal Rankine cycle with reheat uses water as the working fluid. The conditions at the inlet to the first-stage turbine are p
    12·1 answer
  • Which of the following would be addressed by an employer completing an EAP template?
    11·1 answer
  • Write down the tracking error such that the adaptive cruise control objective is satisfied.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!