Find indexes for sqlite database