![chaaaa](/avatars/48335.jpg)
chaaaa
29.08.2019 •
Computers and Technology
Unit b review questions
make sure all answers are in red!
give the circumstances under which the equipment listed must be used, and answer related
questions on another piece of paper.
1. electrical protective ppe (rubber insulating gloves, dielectric footwear)
hazards
utility industry tasks or work areas requiring protective clothing:
2. head protective equipment (hard hats)
hazards: i
utility industry tasks or work areas requiring head protection
what is the difference between type i protection and type il protection in a hard hat?
what is the difference between class e protection and class g protection in a hard hat?
what is the difference between a hard hat and a bump hat?
what defects in a hard hat indicate it should not be used?
3. eye and face protective equipment (safety glasses, goggles face shields)
hazards
utility industry tasks or work areas requiring eye or face protection:
dententive mar should be replaced when
Solved
Show answers
More tips
- C Computers and Internet Отправляем смс через интернет: легко и просто...
- H Health and Medicine Want to Lose Weight? Here s How Many Calories You Need Per Day...
- H Health and Medicine How Many Ribs Do Humans Have?...
- C Computers and Internet Dropbox: What is it and How to Use it...
- F Family and Home Choosing the Right Car Seat for Your Child: Tips and Recommendations...
- C Computers and Internet Е-head: How it Simplifies Life for Users?...
- A Auto and Moto How many blood alcohol level units are allowed in Russian traffic laws?...
- H Horoscopes, Magic, Divination Where Did Tarot Cards Come From?...
- H Health and Medicine How to Deal with Heat Stroke?...
- H Health and Medicine Sunstroke: Causes, Symptoms, and Precautions...
Answers on questions: Computers and Technology
- H Health What is similar about the processes for acquiring education and certification credentials...
- P Physics Atelevision camera is positioned 4000 ft from the base of a rocket launching pad. the angle of elevation of the camera has to change at the correct rate in order to keep...
- H History How did civil war provide new opportunities for woman...
Ответ:
SELECT a.id, ab.age, b.min_coins_needed, b.power
FROM(SELECT code, power, min(coins_needed) AS min_coins_needed
from Wands
group by power, code) AS b
JOIN Wands wa
ON a.coins_needed = b.min_coins_needed AND a.code = b.code AND a.power = b.power
JOIN Wands_property AS ab
ON a.code = ab.code
WHERE ab.is_evil = 0
ORDER BY b.power desc, ab.age DESC;
Explanation:
SELECT statement is used to select the columns id, age, coins_needed and power of the wands that Ron's interested in.
It is required to get the minimum coins_needed so, min() aggregate function is used to return the minimum value of coins_needed. So this is how minimum coins needed for wands with same age and power are attained and the resultant set is given the name of min_coins_needed using alias. This is then grouped by code and power using GROUP BY because code and age has one to one mapping.
Next the JOIN is used to combine columns from two or more relations. Here Wands and Wands_property are joined to obtain id and age.
WHERE clause is used to filter the wands that are not evil.
ORDERED BY is used to sort in order of power and age, the result obtained. DESC is used to sort the result in descending order of power and age.