Created
May 3, 2012 21:53
-
-
Save thedanielmiller/2589790 to your computer and use it in GitHub Desktop.
horrible sql
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
BEGIN | |
IF age < 7 AND clean = 'Poor' OR 'FAIR' | |
UPDATE flight_info SET cleaning = 'Y' | |
ELSE | |
UPDATE flight_info SET cleaning = 'N' | |
END CASE; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment