Select myCod from myTable group by myCod having count(myCod) < 2
Select myCod from myTable where myCod not in (Select myCod from myTable where myYear = '2004')