Question

SQL – Microsoft Access

--------------------------------------------------------------------------

Display the average trip distance for each pilot and use GROUP BY

------------------------------------------------------------------------------

.82714 .6 9 7 4 1 3 6 5 2 54 200 49 3 5 0 3 2 3 24100。40 2 9 9 。 6 6 1 33 4 10 12 2 1 1 3 13 14 14 14 4 15 16 16 16 17 10 1 2

0 0
Add a comment Improve this question Transcribed image text
Answer #1

SELECT AVG(CHAR_DISTANCE) FROM DISTANCE_TBL GROUP BY CHAR_PILOT

We are using avg function to get the avg for each pilot using by group by

Add a comment
Know the answer?
Add Answer to:
SQL – Microsoft Access -------------------------------------------------------------------------- Display the average trip distance for each pilot and use GROUP...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • SQL- Microsoft Access List the employee number, employee last name, and pilot license type (if an...

    SQL - Microsoft Access --------------------------------------------------------------------- SQL- Microsoft Access List the employee number, employee last name, and pilot license type (if any) for all employees. (Hint: LEFT oUTER JOIN or OUTER JOIN must be used, because "if any"-some of them are not pilots). EMP NUM EMP TITLE EMP LNAME EMP FNAME EMP INITIAL EMP DOB EMP HIRE_DATE Click to Add 100 Mr 101 Ms. 102 Mr 103 Ms. 104 Mr 105 Mr 106 Mrs 107 Mr 108 Mr 109 Ms. 110...

  • Create a SQL query based on tblProducts and tblTransactionDetails that will display all the fields from...

    Create a SQL query based on tblProducts and tblTransactionDetails that will display all the fields from tblProducts and the TransactionID and Quantity fields from tblTransactionDetails. Use a join to include all products, regardless of whether or not they have been purchased. Sort in ascending order by Brand. Save your query as qryTransactionDetails_initialLastn ame. tblTransactionDetails TransactionID ProductID Quantity 1 VZH159 2 2 EPP101 2 3 EOL672 3 4 VZH159 2 5 ZLE580 2 tblTransaction TransactionID CustomerID EmployeeID TransactionDate MethodOfPayment 1 11...

  • Match the following descriptions of Naomi's trip to the segments identified on the following distance-time graph....

    Match the following descriptions of Naomi's trip to the segments identified on the following distance-time graph. Note: segments may be chosen more than once. 10 9 Distance from home (miles) 5 1 9:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 Time of the day Naomi is stopped 10 km away from her house. Naomi is moving the fastest towards her house. 1. Segment A Naomi is stopped for one hour. 2. Segment B 3. Segment 4. Segment D...

  • SQL Homework 1. For each reservation, list the reservation ID, trip ID, customer number, and customer...

    SQL Homework 1. For each reservation, list the reservation ID, trip ID, customer number, and customer last name. Order the results by customer last name. 2. For each reservation for customer Ryan Goff, list the reservation ID, trip ID, and number of persons. 3. List the trip name of each trip that has Miles Abrams as a guide. 4. List the trip name of each trip that has the type Biking and that has Rita Boyers as a guide. 5....

  • Problem 6. The set (Z19 − {0}, ·19) is a group with the indicated operation; see...

    Problem 6. The set (Z19 − {0}, ·19) is a group with the indicated operation; see the attached table. a.) Show that H = {1, 7, 8, 11, 12, 18} is a subgroup. b.) List all the right cosets of H. c.) Show that if Hy = Hx then xy−1 ∈ H. [Make sure to give a reason for each step.] d.) Show that φ : H → Hx defined by φ(h) = hx is one-to-one and onto. [Use the...

  • A study of reading comprehension in children compared three methods of instruction. The three methods of...

    A study of reading comprehension in children compared three methods of instruction. The three methods of instruction are called Basal, DRTA, and Strategies. As is common in such studies, several pretest variables were measured before any instruction was given. One purpose of the pretest was to see if the three groups of children were similar in their comprehension skills. The READING data set described in the Data Appendix gives two pretest measures that were used in this study. Use one-way...

  • SQL – Microsoft Access -------------------------------------------------------------------------...

    SQL – Microsoft Access ------------------------------------------------------------------------------ display all the fields mentioned; but do NOT display those not mentioned create ONE QUERY (not five queries) to practice (1) GROUP BY, (2) expressions (calculations), (3) alias, (4) JOIN: Join the tables Franchisees and Restaurants, (the following points are for you to check and make sure your SQL codes deliver the requirements): 1)            find for each credit rating (of franchisees) and for each state (we have CA and FL in the data) (each group...

  • For each variable of interest, do the following: 1. Find the mean, five-number summary, range, variance,...

    For each variable of interest, do the following: 1. Find the mean, five-number summary, range, variance, and standard deviation. Display these numbers in a format that is easy to understand. 2. For each variable of interest, use its five-number summary to construct a boxplot. Each boxplot must be constructed horizontally, and must be accompanied by a brief descriptive paragraph that assesses whether the data appear to be symmetrical, left-skewed, or right-skewed. Construct a 95% confidence interval for the mean μ...

  • Use SQL statements to create this table and populate it with this data. Also design and...

    Use SQL statements to create this table and populate it with this data. Also design and clearly explain at least ten query scenarios that may be useful on your database. Write SQL syntax to answer each query. A query like this: select count(*) from tableOne, can only be used as one of the ten. Strongly suggested to include some queries using Table Joins, Aggregates, Group By, Order By, and Having. At least one query must use a view Order Details...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT