Now it is time to write some SQL queries. Run each query on the populated table...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Now it is time to write some SQL queries. Run each query on the populated table to display each query. Query 1: Display all those individuals who are males and are less than 30 years of age. screenshot of your query and the output for the first 25 results only. Include a Query 2: Display all those individuals who are 70 years of age or older and have a Description of Injury as Ingestion (DescriptionofInjury). Include a screenshot of your query and the output for the first 5 results only. Hint: There are many forms of Ingestion in the data, make sure your Description of Injury is solely filtering for 'Ingestion'. Query 3: Display all those individuals who were injured in HARTFORD county (InjuryCounty) in an Automobile, Shed, or Apartment (InjuryPlace). Include a screenshot of your query and the output for all of the results. III = Editor Data Data source AwsDataCatalog Database adrd Tables and views Q Filter tables and views Tables (1) Recent queries 018_csv id date datetype age accidental_drug_related_deaths_2012_2 sex race Saved queries Settings residencecity Create C < < 1 > string string: string : bigint string : string : string : Query 8: 1 |SELECT * FROM "adrd"."accidental_drug_related_deaths_2012_2018_csv" limit 10;| SQL Ln 1, Col 78 Run again Query results Completed Results (0) Q Search rows Explain Query stats Cancel Clear Create Workgroup primary Time in queue: 124 ms Run time: 2.517 sec Copy + Reuse query results *Athena engine version 3 only Data scanned: Download results < 1 > Now it is time to write some SQL queries. Run each query on the populated table to display each query. Query 1: Display all those individuals who are males and are less than 30 years of age. screenshot of your query and the output for the first 25 results only. Include a Query 2: Display all those individuals who are 70 years of age or older and have a Description of Injury as Ingestion (DescriptionofInjury). Include a screenshot of your query and the output for the first 5 results only. Hint: There are many forms of Ingestion in the data, make sure your Description of Injury is solely filtering for 'Ingestion'. Query 3: Display all those individuals who were injured in HARTFORD county (InjuryCounty) in an Automobile, Shed, or Apartment (InjuryPlace). Include a screenshot of your query and the output for all of the results. III = Editor Data Data source AwsDataCatalog Database adrd Tables and views Q Filter tables and views Tables (1) Recent queries 018_csv id date datetype age accidental_drug_related_deaths_2012_2 sex race Saved queries Settings residencecity Create C < < 1 > string string: string : bigint string : string : string : Query 8: 1 |SELECT * FROM "adrd"."accidental_drug_related_deaths_2012_2018_csv" limit 10;| SQL Ln 1, Col 78 Run again Query results Completed Results (0) Q Search rows Explain Query stats Cancel Clear Create Workgroup primary Time in queue: 124 ms Run time: 2.517 sec Copy + Reuse query results *Athena engine version 3 only Data scanned: Download results < 1 >
Expert Answer:
Related Book For
Introductory Statistics Exploring The World Through Data
ISBN: 9780321978271
2nd Edition
Authors: Robert Gould, Colleen Ryan
Posted Date:
Students also viewed these databases questions
-
Create a conclusion to following work. Hotels form an uninterrupted narrative of a story, filling guests with emotions that define their stay. They have ceased to be considered one-dimensional places...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
The following matrix is row-equivalent to the augmented matrix of a linear system. Describe the solution set of that system. 1 0 1 5 0000 0013 0000 Find all possible values of a for which the...
-
Access the 2012 annual report of Rogers Sugar Inc. for the period ended September 29, 2012, from SEDAR (www.sedar.com). Instructions (a) Describe the makeup of the company's current capital share...
-
Adler Industries uses a standard cost system. Adler has established the following standards for one unit of product: standard labor of 0.25 hour and standard wage rate of $12 per hour. During...
-
Jack and Judy Myers are opening Parties on Demand. To buy stage props and other equipment they need outside capital, so they plan to organize the business as a corporation. They come to you for...
-
Relating market value to book value of shareholders' equity Firms prepare their balance sheets using authoritative guidance for the recognition and measurement of assets and liabilities. Accountants...
-
The following information regarding Cole Company is available: Sales $1,800,000 Cost of sales 1,050,000 Operating expenses 300,000 Operating earnings A Average invested capital B ROI C Return on...
-
Suppose there is an urn containing 300 balls, of those 100 balls are red, while the remaining 200 balls are either black or white with unknown proportions. The balls are well-mixed that any...
-
State the significance of twisting in the RJ45 cable. Give an example.
-
At December 31, 2025 and 2026, Concord Corp. had outstanding 4200 shares of $100 par value 6% cumulative preferred stock and 20400 shares of $10 par value common stock. At December 31, 2025,...
-
Watch the following: Anchor, S. (2011, May). The happy secret to better work on TED [Video]. Ted Talk. https://www.ted.com/talks/shawn_achor_the_happy_secret_to_better_work/up-next Address the...
-
Debate whether work-life balance is always good for a business. Next, differentiate between two (2) aspects of work-life balance and two (2) aspects of work-life imbalance. Support your rationale.
-
Determine which class protected by Title VII of the Civil Rights Act of 1964 had the greatest impact on the workforce of the 20th century. Next, determine which class might have the greatest impact...
-
Why would two parties create service-level agreements?
-
Describe Entrepreneurial Traits ?
-
Aztec Furnishings makes hand-crafted furniture for sale in its retail stores. The furniture maker has recently installed a new assembly process, including a new sander and polisher. With this new...
-
The ten top-grossing DreamWorks animated movies for the U.S. box office up to July 2013 are shown in the table, in millions of dollars. Movie $Millions Shrek 2 ............441 Shrek the Third...
-
The null hypothesis on true/false tests is that the student is guessing, and the proportion of right answers is 0.50. A student taking a five-question true/false quiz gets 4 right out of 5. She says...
-
Roll a fair six-sided die. a. What is the probability that the die shows an odd number OR a number less than 3 on top? b. What is the probability that the die shows an odd number OR a number less...
-
Assume that an independent auditor is auditing the financial statements of a small not-for profit institution. He finds that the information system is handled by one individual who writes checks,...
-
In an effective internal control system, the following functions are separated: (1) authorizing a transaction, (2) recording a transaction, (3) maintaining custody of assets that result from a...
-
The flowchart depicts part of a client's revenue cycle. Some of the flowchart symbols are labeled to indicate control procedures and records. For each symbol numbered 61 through 73, select one...
Study smarter with the SolutionInn App