Brug Add_MONTHS
for at tilføje (- 12 * 30)
.
SELECT Name, DOB
FROM Employee
WHERE DOB <= ADD_MONTHS(SYSDATE, -(12 * 30));
Brug Add_MONTHS
for at tilføje (- 12 * 30)
.
SELECT Name, DOB
FROM Employee
WHERE DOB <= ADD_MONTHS(SYSDATE, -(12 * 30));