Created
September 28, 2020 18:05
-
-
Save KKcorps/646c06ac62db2668dfb5724bcca3552f to your computer and use it in GitHub Desktop.
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
-- Scalar Functions | |
SELECT UPPER(playerName) FROM baseballStats | |
SELECT SUBSTR(playerName, 2, 11) FROM baseballStats | |
SELECT CONCAT(firstName, lastName, '-') FROM baseballStats | |
-- Non scalar Functions | |
SELECT SUM(playerScore) FROM baseballStats GROUP BY playerName | |
SELECT COUNT(*) FROM baseballStats |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment