I can do this statement to get a rowid list:
select first 1000 rowid from table1 where last_update < today-30;
but I can't use it as a subquery for a delete statement:
delete from table1
where rowid in ( select first 1000 rowid from table1
where last_update < today-30 );
It gives me this error:
944: Cannot use "first", "limit" or "skip" in this context.
How can I fix that?