Last active
August 9, 2020 16:30
-
-
Save WashingtonGold/3e51fef7671b7f5e3b1a272cb1aa6e2e 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
SELECT Price, | |
CASE WHEN Price < 12 THEN 'Cheap' | |
WHEN Price < 21 THEN 'Regular' | |
ELSE 'Expensive' | |
END AS Bucket | |
FROM Products |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment