Created
November 29, 2020 16:52
-
-
Save YiLi225/03950a60193f384960e5d80a8899f7df 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
/** 4. User logins in NYC and in Year 2018 or Num_Var >= 1000**/ | |
SELECT * | |
FROM | |
userlogin | |
WHERE | |
location_var = 'NYC' | |
AND YEAR(date_var) = '2018' | |
OR num_var >= 1000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment