Skip to content

Instantly share code, notes, and snippets.

@cnstlungu
Created November 5, 2022 21:09
Show Gist options
  • Save cnstlungu/ff8408fdaa5e6812233fa184fad1916b to your computer and use it in GitHub Desktop.
Save cnstlungu/ff8408fdaa5e6812233fa184fad1916b to your computer and use it in GitHub Desktop.
Use table alias
SELECT
pd.a,
pc.b,
od.c
FROM
products pd
JOIN
prices pc ON ...
JOIN
orders od ON ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment