Correct the query
![Message SQL Error [42702]: ERROR: column reference birthdate A is ambiguous Detail: It could refer to either a PL/pgSQL variable or a table column.1 Where: PL/pgSQL function employee_after_19680 line 4 at SQL statement](https://media.cheggcdn.com/media%2Fb04%2Fb046a3b1-654c-4642-864a-6879cbbb9453%2Fphpultjzf.png)
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
Message SQL Error [42702]: ERROR: column reference “birthdate” A is ambiguous Detail: It could refer to either a PL/pgSQL variable or a table column.1 Where: PL/pgSQL function employee_after_19680 line 4 at SQL statement Show transcribed image text
Expert Answer
An answer will
PayPal Gateway not configured
PayPal Gateway not configured