-
-
Save voronoipotato/2592001 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' THEN | |
UPDATE flight_info SET cleaning = 'Y'; | |
ELSE | |
UPDATE flight_info SET cleaning = 'N'; | |
END IF; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BEGIN
IF age < 7 AND clean = 'Poor' OR 'FAIR' THEN
UPDATE flight_info SET cleaning = 'Y';
ELSE
UPDATE flight_info SET cleaning = 'N';
END IF;
END