Guest User

Untitled

a guest
Nov 12th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. -- This query returns all countries and their
  2. -- mega cities if they have
  3. SELECT C.Name, M.Name, M.Population
  4. FROM Example.Countries AS C
  5. OUTER APPLY Example.GetMegaCities(C.CountryID) AS M
Add Comment
Please, Sign In to add comment