Sql Query, fetch data from given ID

Asked

Viewed 759 times

0

how to make a query, searching data from the given ID?

For example, my table has 1 thousand records, I want to determine in a foreach the search of the data from the record 300.

  • 3

    I don’t think an answer fits, that question must have duplicate, SELECT * FROM tabela WHERE id > 300

  • Possible duplicate of Select with date over 20 years @Marcelobonifazio

1 answer

4


  • Exact. In your question Voce confuses the ID, which is usually related to a primary key, with a record position indicator, or a cursor.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.