My programing World
A collection of programs and interview questions
Tuesday, June 7, 2016
SQL join
select c,floor(avg(p)) from (
select A.population as p,B.continent as c from city A
inner join country B
on A.countrycode = B.code
)
group by c;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment