Question: Correct the query CREATE OR REPLACE FUNCTION EMPLOYEE_AFTER_1968() returns bigint as $date$ declare birthdate bigint; BEGIN SELECT birthdate FROM EMPLOYEE WHERE BIRTHDATE >= DATE('1968-01-01', '00:00:00');
Correct the query
CREATE OR REPLACE FUNCTION EMPLOYEE_AFTER_1968() returns bigint as $date$ declare birthdate bigint; BEGIN SELECT birthdate FROM EMPLOYEE WHERE BIRTHDATE >= DATE('1968-01-01', '00:00:00'); return date; END; $date$ language plpgsql
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
