Write SQL query for the following - the number of volcanos per country - the number of
Fantastic news! We've Found the answer you've been seeking!
Question:
Write SQL query for the following
- the number of volcanos per country
- the number of volcanos of each type
- VEI summary statistics
- Elevation summary statistics
- the most active volcanos (repeated eruptions)
Transcribed Image Text:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 RECNO YEAR MONTH DAY NAME 98 1598 (null) (null) Banda Api 99 1600 100 1606 1608 101 102 1609 (null) (null) Tengchong 103 1615 3 (null) Banda Api 104 1617 (null) (nul1) Fuego 105 1625 2 Katla 106 1629 (null) (null) Grimsvotn 107 1630 108 1631 109 1631 110 1636 2 1 7 9 9 2 12 5 19 Huaynaputina 23 Hachijo-jima 18 Gamalama 3 Furnas 14 Dama Ali 16 Vesuvius 15 Hekla 1638 (null) (nul1) Raung 7 9 111 112 1640 7 31 Komaga-take 113 1640 (null) (null) Tungurahua 114 1646 19 Makian 115 1650 26 Santorini LOCATION Banda Sea Peru Izu Is-Japan Halmahera-Indonesia China-S Banda Sea Guatemala Iceland-S Iceland-NE Azores Africa-NE Italy Iceland-S Java Hokkaido-Japan Ecuador COUNTRY Pacific Ocean Peru Japan Indonesia Greece China Pacific Ocean Guatemala Iceland Iceland Portugal Ethiopial Japan Ecuador Halmahera-Indonesia Indonesia Greece Italy Iceland. Indonesia LATITUDE LONGITUDE 129.871 -70.85 139.77 127.325 98.47 129.871 -90.88 -19.05 -17.33 -25.32 41.63 14.426 -19.7 114.042 140.68 -78.442 127.4 25.396 -4.525 -16.608 33.13 0.8 25.32 -4.525 14.473 63.63 64.42 37.77 11.28 40.821 63.98 -8.125 42.07 -1.467 0.32 36.404 ELEVATION TYPE VEI 3763 Stratovolcano 1512 Subglacial volcano 1725 Caldera 805 Stratovolcano 1068 Shield volcano 1281 Complex volcano. 1491 Stratovolcano 3332 Stratovolcano 1140 Stratovolcano 5023 Stratovolcano 1357 Stratovolcano 329 Shield volcano. 640 Caldera 4850 Stratovolcano 854 Stratovolcano. 1715 Stratovolcano 2865 Pyroclastic cone. (null) 640 Caldera DEATHS 3 (null) 6 2 1500 (null) (null) (null) 3 3 (null) 3 (null) 5 (null) 2 4 (null) 5 4 200 50 4000 (null) 4 1001 5 (null) 3 5000 4 (null) 3 4 120 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 RECNO YEAR MONTH DAY NAME 98 1598 (null) (null) Banda Api 99 1600 100 1606 1608 101 102 1609 (null) (null) Tengchong 103 1615 3 (null) Banda Api 104 1617 (null) (nul1) Fuego 105 1625 2 Katla 106 1629 (null) (null) Grimsvotn 107 1630 108 1631 109 1631 110 1636 2 1 7 9 9 2 12 5 19 Huaynaputina 23 Hachijo-jima 18 Gamalama 3 Furnas 14 Dama Ali 16 Vesuvius 15 Hekla 1638 (null) (nul1) Raung 7 9 111 112 1640 7 31 Komaga-take 113 1640 (null) (null) Tungurahua 114 1646 19 Makian 115 1650 26 Santorini LOCATION Banda Sea Peru Izu Is-Japan Halmahera-Indonesia China-S Banda Sea Guatemala Iceland-S Iceland-NE Azores Africa-NE Italy Iceland-S Java Hokkaido-Japan Ecuador COUNTRY Pacific Ocean Peru Japan Indonesia Greece China Pacific Ocean Guatemala Iceland Iceland Portugal Ethiopial Japan Ecuador Halmahera-Indonesia Indonesia Greece Italy Iceland. Indonesia LATITUDE LONGITUDE 129.871 -70.85 139.77 127.325 98.47 129.871 -90.88 -19.05 -17.33 -25.32 41.63 14.426 -19.7 114.042 140.68 -78.442 127.4 25.396 -4.525 -16.608 33.13 0.8 25.32 -4.525 14.473 63.63 64.42 37.77 11.28 40.821 63.98 -8.125 42.07 -1.467 0.32 36.404 ELEVATION TYPE VEI 3763 Stratovolcano 1512 Subglacial volcano 1725 Caldera 805 Stratovolcano 1068 Shield volcano 1281 Complex volcano. 1491 Stratovolcano 3332 Stratovolcano 1140 Stratovolcano 5023 Stratovolcano 1357 Stratovolcano 329 Shield volcano. 640 Caldera 4850 Stratovolcano 854 Stratovolcano. 1715 Stratovolcano 2865 Pyroclastic cone. (null) 640 Caldera DEATHS 3 (null) 6 2 1500 (null) (null) (null) 3 3 (null) 3 (null) 5 (null) 2 4 (null) 5 4 200 50 4000 (null) 4 1001 5 (null) 3 5000 4 (null) 3 4 120
Expert Answer:
Answer rating: 100% (QA)
Assuming you have a table named volcanoes with columns country type VEI elevation and name here are ... View the full answer
Related Book For
Accounting Information Systems
ISBN: 9780132871938
11th Edition
Authors: George H. Bodnar, William S. Hopwood
Posted Date:
Students also viewed these databases questions
-
your proposal will require a rationale or a justification for the change you are proposing. You will develop a plan to make the change outlined in the rationale. I will need to approve the topic you...
-
Which type(s) of power did Elon Musk have: reward power, coercive power, legitimate power, or expert power? Considering the creation of Tesla and SpaceX (manufacturing), is Twitter the right business...
-
Identify two specific examples of Jim Crow Legislation in the South during the early Twentieth Century.
-
What is wrong with the following variable declarations? If wrong, explain. If correct (nothing wrong), write "correct". double 1st_var = 10; int var2; int var3 = var2; string name="var3"; double...
-
The following table gives the mole fraction of methylbenzene (A) in liquid and gaseous mixtures with butanone at equilibrium at 303.15 K and the total pressure p. Take the vapour to be perfect and...
-
The following data are for a falling-head permeability test: Length of the soil sample = 150 mm Area of the soil sample = 1964 mm2 Area of the standpipe = 25 mm2 At time t = 0, head difference =...
-
Red Blood Cell Count Use the normal distribution in Exercise 16. (a) What percent of the adult males have a red blood cell count less than 5.75 million cells per microliter? (b) What percent of the...
-
Suppose that Adams Company sells a product for $16. Unit costs are as follows: Direct materials ..................$3.90 Direct labor ....................1.40 Variable overhead ...................2.10...
-
Explain the systematic process of continuous improvement What is a training needs analysis and how are they used? How can you present improvements to the work team and management? What is quality and...
-
1. Assume a 30% tax rate, and the Totals per financial statements provided. Complete the following schedule as per Figure 16.4. Assume that the Totals per financial statements (second to bottom row)...
-
Create Student Login and Student Account page using HTML, CSS,JQuery and AJAX. Moving from "Login" to "AccountInfo" will notchange the page/URL.. Successful login will take you to the...
-
Tell us about the factors in your background that will help us understand your interest in a profession in the public administration sectors. Here is my educational background: Associate Degree in...
-
Who should you choose to conduct your marketing audit. Give reasons for your response. It is common practice for companies to audit their marketing agency partners? Why is this necessary? Discuss....
-
White Lights Co. uses the total cost concept of applying the cost-plus method to product pricing. The costs of producing and selling 6,000 units are as follows: Line Item Description Amount Fixed...
-
Evaluate current Seattle's marketing strategy. Is the strategy sustainable given the growing challenges faced in the services industry)? What could be done to enhance the marketing mix strategy for...
-
how relationship marketing is going to change for your generation and apply that prospective idea to a hospitality endeavor? Explain the 4C's of marketing and how do they relate to the 4P's of...
-
Two moles of air at 1 atm, 21.1C goes through an adiabatic device and separates into a hot stream of 0.4 moles at 1 atm, 176.3C and a cold stream of 1.6 moles at 1 atm, 17.7C, without any external...
-
Use the formula to determine the value of the indicated variable for the values given. Use a calculator when one is needed. When necessary, use the key on your calculator and round answers to the...
-
Explain son father grandfather file retention.
-
You have been charged with the responsibility of heading up a design team. The teams responsibility will be to design a production control system. The team consists of you and four other members,...
-
Describe several systems analysis techniques that would be helpful for purposes of gathering and organizing the facts needed in studying an accounts receivable system.
-
Prove that \(B(x ; n, p)=1-B(n-x-1 ; n, 1-p)\).
-
Prove that \(b(x ; n, p)=b(n-x ; n, 1-p)\).
-
With reference to Exercise 4.5, find an expression for the distribution function \(F(x)\) of the random variable. Data From Exercise 4.5 k 4.5 Given that f(x): = is a probability distribution for 2x...
Study smarter with the SolutionInn App