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
3 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]3 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
Which is a feedback mechanism for a system?
stira [4]

The following is a feedback mechanism for a system :

<u>The progress bar when downloading a file on iTunes</u>

<u></u>

Explanation:

  • A feedback mechanism is a loop system wherein the system responds to a perturbation. The response may be in the same direction (as in positive feedback) or in the opposite direction (as in negative feedback).
  • Feedback occurs when outputs of a system are routed back as inputs as part of a chain of cause-and-effect that forms a circuit or loop. The system can then be said to feed back into itself.
  • Evaluation feedback needs to be done “in the moment” to help the person receiving the feedback know where they stand.
  • A feedback control system consists of five basic components: (1) input, (2) process being controlled, (3) output, (4) sensing elements, and (5) controller and actuating devices.
  • Because negative feedback produces stable circuit responses, improves stability and increases the operating bandwidth of a given system, the majority of all control and feedback systems is degenerative reducing the effects of the gain.

6 0
3 years ago
A 650-kN column load is supported on a 1.5 m square, 0.5 m deep spread footing. The soil below is a well-graded, normally consol
insens350 [35]

<u>Explanation:</u>

Determine the weight of footing

W_{f}=\gamma(L)(B)(D)

Where W_{f} is the weight of footing, γ is the unit weight of concrete,  L is the length of footing is the width of footing, and D is the depth of footing

Substitute 2 m \text { for } L, 1.5 m \text { for } B, 0.5 m \text { for } D \text { and } 23.6 kN / m ^{3} for γ in the equation

\begin{aligned}W_{f} &=\left(23.6 kN / m ^{3}\right)(2 m )(1.5 m )(0.5 m ) \\&=35.4 kN\end{aligned}

Therefore, the weight of the footing is 35.4 kN

Determine the initial vertical effective stress.

\sigma_{z p}^{\prime}=\gamma(D+B)-u

Here,   \sigma_{z^{p}}^{\prime} is initial vertical stress at a depth below ground surface  γ is the unit weight of soil, D is depth and u is pore water pressure.

Substitute 18 kN / m ^{3} \text { for } \gamma, 1.5 m \text { for } B, 0.5 m \text { for } D \text { and } 0 for u in the equation

\begin{aligned}\sigma_{z p}^{\prime} &=\left(18 kN / m ^{3}\right)(1.5+0.5) m -0 \\&=36 kPa\end{aligned}

Therefore, the initial vertical stress is 36 kPa

Determine the vertical effective stress.

\sigma_{z D}^{\prime}=\gamma D

Here,   \sigma_{z^{p}}^{\prime} is initial vertical stress at a depth below ground surface  γ is the unit weight of soil, D is depth and u is pore water pressure.

Substitute \(18 kN / m ^{3}\) for \(\gamma, 0.5 m\) for \(D\) and 0 for \(u\) in the equation.

\begin{aligned}\sigma_{z b}^{\prime} &=\left(18 kN / m ^{3}\right)(0.5 m )-0 \\&=9 kPa\end{aligned}

Therefore, the vertical stress at a depth below the ground surface is

9 kPa

Determine the influence factor at the midpoint of soil layer,

I_{e p}=0.5+0.1 \sqrt{\frac{q-\sigma_{s 0}^{\prime}}{\sigma_{z p}^{\prime}}}

Here I_{e p} is the influence factor at the midpoint of soil layer  \sigma_{z^{p}}^{\prime} is initial vertical stress, \sigma_{z^{p}}^{\prime} is vertical effective stress, and Q is bearing pressure

Substitute 36 kPa for \(\sigma_{z p}^{\prime}, 228.47\) kPa for \(q,\) and 9 kPa for \(\sigma_{z D}^{\prime}\) in the equation\begin{aligned}I_{\epsilon P} &=0.5+0.1 \sqrt{\frac{228.47 kPa -9 kPa }{36 kPa }} \\&=0.75\end{aligned}

Therefore the influence factor at the midpoint of the soil layer is 0.693

6 0
3 years ago
A microscope illuminator uses a transformer to step down the 120 V AC of the wall outlet to power a 12.0 V,50 W microscope bulb.
Anna35 [415]

Answer:2.88 ohms

Explanation:

R= V^2 / P

12^2/50

144/50

2.88 ohms

5 0
2 years ago
Check Your Understanding: True Stress and Stress A cylindrical specimen of a metal alloy 47.7 mm long and 9.72 mm in diameter is
VARVARA [1.3K]

Answer:

The answer is "583.042533 MPa".

Explanation:

Solve the following for the real state strain 1:

\varepsilon_{T}=\In \frac{I_{il}}{I_{01}}

Solve the following for the real stress and pressure for the stable.\sigma_{r1}=K(\varepsilon_{r1})^{n}

K=\frac{\sigma_{r1}}{[\In \frac{I_{il}}{I_{01}}]^n}

Solve the following for the true state stress and stress2.

\sigma_{r2}=K(\varepsilon_{r2})^n

     =\frac{\sigma_{r1}}{[\In \frac{I_{il}}{I_{01}}]^n} \times [\In \frac{I_{i2}}{I_{02}}]^n\\\\=\frac{399 \ MPa}{[In \frac{54.4}{47.7}]^{0.2}} \times [In \frac{57.8}{47.7}]^{0.2}\\\\ =\frac{399 \ MPa}{[ In (1.14046122)]^{0.2}} \times [In (1.21174004)]^{0.2}\\\\ =\frac{399 \ MPa}{[ In (1.02663509)]} \times [In 1.03915873]\\\\=\frac{399 \ MPa}{0.0114161042} \times 0.0166818905\\\\= 399 \ MPa \times 1.46125948\\\\=583.042533\ \ MPa

4 0
3 years ago
Design the software architecture for a student online registration system using the MVC architecture. Draw the architecture by s
Travka [436]

MVC architecture is defined as the architectural design that is used by software engineers for programming languages.

<h3>What are the various models of MVC architecture?</h3>

The various types of MVC architecture include the following:

  • The controller: This model is used to control logic and acts as the coordinator between the View and the Model.

  • The view: It displays the information from the model to the user.

  • The model: It is used to implement the domain logic.

Learn more about software here:

brainly.com/question/1538272

#SPJ1

8 0
2 years ago
Other questions:
  • An 80-L vessel contains 4 kg of refrigerant-134a at a pressure of 160kPa. Determine (a) the temperature, (b) the quality, (c) th
    11·1 answer
  • (a) Aluminum foil used for storing food weighs about 0.3 grams per square inch. How many atoms of aluminum are contained in one
    5·1 answer
  • To reduce the drag coefficient and thus improve the fuel efficiency of cars,the design of side rearview mirrors has changed dram
    11·1 answer
  • The penalty for littering 15 lb or less is _____.<br> A. $25<br> B. $50<br> C. $100<br> D. $150
    14·1 answer
  • You are using a Geiger counter to measure the activity of a radioactive substance over the course of several minutes. If the rea
    6·1 answer
  • SEICUL UC CULTELL allsvel.
    9·2 answers
  • Cho biết tác dụng chung của các hệ giằng khung ngang nhà công nghiệp nhẹ 1 tầng 1 nhịp.
    13·1 answer
  • I want to solve the question
    8·1 answer
  • Users of E85 see a drop in gas mileage because ethanol can't produce the same
    13·1 answer
  • Technician A says that the starter solenoid switches the high current on and off. Technician B says that the solenoid on the sta
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!