Problem 2.Employees with Salary Above Number
Пиша заявката в heidisql:
delimiter //
CREATE PROCEDURE usp_get_employees_salary_above (IN number INT)
BEGIN
SELECT first_name, last_name from employees
WHERE salary >= number;
END//
delimiter ;
и всичко работи нормално
като пусна същия код в judge- a ми дава следната грешка:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delimiter // CREATE PROCEDURE usp_get_employees_salary_above (IN number INT) ' at line 1
Благодаря!