SQL average command for column IDs

1152720 pts.
Tags:
SQL
SQL commands
For SQL, does anyone happen to know if I can use the SQL avg() function for average by my column IDs? Basically, I have several different IDs and I'm trying to get the average of each through one query. How can I go about this?
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • ToddN2000
    What code have you tried? Post it and let us take a look.
    135,435 pointsBadges:
    report
  • carlosdl
    The AVG aggregate function is part of the standard and is most likely implemented in all RDBMs.

    Post the structure of your table and what you have tried so far, and we will be happy to help you get it right.
    85,430 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: