Query fail:
select MAX(ID) as ID from dim_ciclos