Files
WinStudentGoalTracker/db/Objects/procedures/sp_Student_GetAll.sql
T

19 lines
322 B
SQL

DROP PROCEDURE IF EXISTS sp_Student_GetAll;
DELIMITER $$
CREATE PROCEDURE sp_Student_GetAll()
BEGIN
SELECT
id_student,
id_program,
identifier,
program_year,
enrollment_date,
expected_grad,
created_at
FROM student
ORDER BY id_student;
END$$
DELIMITER ;