Subject info
Author Рустам Муса-Ахунов
select
  gen_id(GEN_XXX, 1)
from RDB$DATABASE

Where GEN_XXX - generator for your A.ID column