fixed rowid in SQL