Engineering
Engineering, 18.12.2019 07:31, jaimes04

Write sql commands to support photo applications, sales applications and reporting applications. photo applications include adding a new photo, deleting an existing photo, changing photo information, and querying photo information. sales applications include processing a sale, viewing a sale (given transactionid), finding sales (given different features e. g. date, customer name reporting application involve generating reports (e. g. find the total sales per customer).

in particular, write sql commands to support the following actions. you should be able to demonstrate the implementation of these actions.

1. list customers who spent more than 100$ for the photos.
2. list photos which were not bought.
3. list customers who bought all photos (portraits) in which a model x modeled.
4. list photographers who influenced exclusively photographers who are us citizens.
5. list photographers which took only portrait photos.
6. list transactions (transid) which contain more than 3 photos.
7. list models who modeled in all photos taken by photographer y.
8. rank the photographers by the total cost (sum of prices) of the photos they took.
9. delete from relation photo the photo with photoid=x.
10. update the photographer name of the photo with photoid=x to y.
11. compute total sales per customer 12. compute total sales per photographer sorted by photographer 13. compute total sales by photo type (portrait, landscape

answer
Answers: 1

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, DestyHilBan1183
Adouble-strand no. 60 roller chain is used to transmit power between a 13-tooth driving sprocket rotating at 300 rev/min and a 52-tooth driven sprocket. a) what is the allowable horsepower of this drive? b) estimate the center-to-center distance if the chain length is 82 pitches. c) estimate the torque and bending force on the driving shaft by the chain if the actual horsepower transmitted is 30 percent less than the corrected (allowable) power.
Answers: 3
image
Engineering, 04.07.2019 18:20, safiyabrowne7594
Ahe-xe mixture containing a 0.75 mole fraction of helium is used for cooling electronics in an avionics application. at a temperature of 300 k and atmospheric pressure, calculate the mass fraction of helium and the mass density, molar concentration and molecular weight of the mixture. if the cooling capacity is 10 l, what is the mass of the coolant?
Answers: 3
image
Engineering, 04.07.2019 18:20, kendrawalraven
The characteristic roots of a dynamic system are: 1.7920 1.8160 i, -1.7920 1.8160 i, -0.4160 what is the order of this system? what are the settling time and damping ratio of the system?
Answers: 3
image
Engineering, 04.07.2019 18:20, esmemaluma00
Find the minimum film thickness for a journal bearing with the data below. shaft diameter, d-50 mm, clearance ratio, cdratio? 0.001, shaft speed, n 2000 rpm; bearing length. i 200 mm; eccentricity ration, ? -0.55. ( note, cdratio-ca/d) the minimum film thickness is um
Answers: 2
Do you know the correct answer?
Write sql commands to support photo applications, sales applications and reporting applications. pho...

Questions in other subjects: