Skip to content
Advertisement

Select a specific index row in sqlite

I have an index and I need to find out what is the row in a table with that index, in SQLite. Example:

Index = 1

Table:

Which is the correct SELECT that I can use to solve my problem?

Advertisement

Answer

Typically to get a specific row you can always request them by rowid, e.g.

However, there are some atypical situations that preclude this. You’ll really want to read up on rowids to ensure that your table is going to behave as you want.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement