Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Average

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Let's say I have a table set up like this

Number 1 Number 2
1 7
15 29
6 4

Is there a simple way to average together Number 1 and Number 2 from the same row? Like the first row would be 4.
 
what about this:
select ((Number1 + Number2)/2) as average from table
:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top