-
-
Save uncoded-ro/5dccc7c97036db1feab8fe6aad66a64b 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
USE sakila; | |
DROP PROCEDURE IF EXISTS get_actors; | |
DELIMITER | | |
CREATE PROCEDURE get_actors() | |
BEGIN | |
SELECT actor_id, first_name, last_name | |
FROM actor | |
ORDER BY actor_id ASC | |
LIMIT 5; | |
END | | |
DELIMITER ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment