SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SELECT f.Name, ANY_VALUE(COALESCE(p.Phone, '-')) AS Phone FROM Firms f
  2. LEFT JOIN Phones p ON p.FirmID = f.ID
  3. GROUP BY f.ID
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top