Created
August 1, 2018 05:28
-
-
Save jibinpb/36f700c1d4edbefa87c4d296b3bd1292 to your computer and use it in GitHub Desktop.
SQL Server GDB - Select from Edge and Node
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
entity1.Name AS [Parent], | |
entity2.Name AS [Subsidiary], | |
s.HoldingPercentage, | |
s.EffectiveDate | |
FROM [Entity] entity1, [Subsidiaries] s, [Entity] entity2 | |
WHERE MATCH(entity1-(s)->entity2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment