im trying to select title, last name, birth date and country where the title is "Sales Representative" and they are born before or in 1950.
It is giving me a error when a put the date in the code.
I thought this was correct:
SELECT title,lastname,birthdate,country FROM EMPLOYEES
WHERE title='Sales Representative' AND BIRTHDATE <= '01/01/1950 00:00:00';
The error it gives ORA-01843: not a valid month
If you can help me, thank you.
Here is the sample data of the table :