Skip to content

Instantly share code, notes, and snippets.

@mrzzzrm
Last active September 3, 2017 21:07
Show Gist options
  • Save mrzzzrm/13c0a8a0f11300f6db30b369056a2d21 to your computer and use it in GitHub Desktop.
Save mrzzzrm/13c0a8a0f11300f6db30b369056a2d21 to your computer and use it in GitHub Desktop.
SELECT
InnerResult.a
FROM
(SELECT
T1.a, c
FROM
T1 JOIN T2 ON InnerResult.a = InnerResult.c
) AS InnerResult;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment