-
-
Save liron-navon/c8850723e714222dc21d0c263764392e to your computer and use it in GitHub Desktop.
code signal solution for https://app.codesignal.com/challenge/GdySWgE8BNrxdHiGZ
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
CREATE PROCEDURE mischievousNephews() | |
BEGIN | |
SELECT | |
WEEKDAY(mischief_date) AS weekday, | |
mischief_date, | |
author, | |
title | |
FROM | |
mischief | |
ORDER BY | |
weekday, | |
FIELD(author, 'Huey', 'Dewey' ,'Louie'), | |
mischief_date, | |
title; | |
END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment