Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql average from two table

select (sum(s.depth)+sum(l.depth))/(count(s.name)+count(l.name))
from seas s, lakes l
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #average #table
ADD COMMENT
Topic
Name
7+8 =