Last active
July 28, 2022 04:02
-
-
Save nashmaniac/9264758f8a6d0266faf5f98364f2b2fb to your computer and use it in GitHub Desktop.
basic-sql-construct
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 -- required, contains column names comma separated, if you need everything then use * | |
FROM -- required, name of the sheet | |
WHERE -- optional, generally contains the filtering criteria | |
ORDER BY -- optional, used for sorting. Default is low to high. if high to low needed use `desc` | |
GROUP BY -- optional, used for pivot table kind of query | |
HAVING -- optional, filtering on the group by |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment