The following code does not seem to recognise the code in the brackets that after the NOT EXISTS statement.
select *
from department
where
NOT EXISTS
(select *
from department
where UPPER(state) != 'VIC');
I have spent hours on this and can not seem to get it to work (can do using a different query but not the one above).