Skip to content

Instantly share code, notes, and snippets.

@ArCiGo
Created May 19, 2019 22:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ArCiGo/9147d5f66d3d3a3113e2e14f7ec8aae0 to your computer and use it in GitHub Desktop.
Save ArCiGo/9147d5f66d3d3a3113e2e14f7ec8aae0 to your computer and use it in GitHub Desktop.
SELECT "tn1"."column_name1", "tn1"."column_name2", "tn2"."column_name3"
FROM "table_name1" AS "tn1"
RIGHT JOIN "table_name2" AS "tn2" ON "tn1"."column_name2" = "tn2"."column_name3"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment