you cant query rowid's like that, you shoukdnt really be using rowid at all, use your own primary key