diff --git a/10_stored_routines_as_functions/script.sql b/10_stored_routines_as_functions/script.sql index e3ee0ca..594737e 100644 --- a/10_stored_routines_as_functions/script.sql +++ b/10_stored_routines_as_functions/script.sql @@ -1 +1,12 @@ --- Write your SQL code here \ No newline at end of file +-- Write your SQL code here + +DELIMITER $$ + +CREATE PROCEDURE GetCustomerDetails(IN id INT) +BEGIN + SELECT id , name , address + FROM customers + WHERE id = id; +END $$ + +DELIMITER ; diff --git a/README.md b/README.md index 8728c63..74c141e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![Review Assignment Due Date](https://classroom.github.com/assets/deadline-readme-button-22041afd0340ce965d47ae6ef1cefeee28c7c493a6346c4f15d667ab976d596c.svg)](https://classroom.github.com/a/fbNyN1as) # BBT3104: Advanced Database Sytems Semester Project | **Key** | Value |