My code is working to an extent, but it doesn't give me the output that is required for my assignment and I'm not sure what is wrong with my code. If anyone can let me know, I would greatly appreciate it. Not sure why the third one is completely wrong either.
What it looks like:
What it's supposed to look like:
SELECT s_first||' '||s_mi|| '. '||s_last AS "Full Name", s_dob AS "Date of Birth", TRUNC(MONTHS_BETWEEN(SYSDATE, s_dob)/12,2) AS "Age"
FROM student
WHERE s_dob LIKE '%86%'
ORDER BY s_dob;