rata -rata mysql dari dua meja

select (sum(s.depth)+sum(l.depth))/(count(s.name)+count(l.name))
from seas s, lakes l
Lovely Lapwing