Does the below sql query return divide by zero error or does it return any recors
select a.ABC into tableX from tableY a with(INDEX(idx_ABC)) where a.ABC not in(select b.ABC from tableZ b with(INDEX(idx_ABC)) where a.ABC=b.ABC)
select 1/count(*) from tableX