Select in mysql from this index

0

I am doing a query in the database and have to return the table from such index. for example:

| ind | value | 001 | AAA

| 002 | BBB | | 003 | CCC

| 004 | DDD

| 005 | EEE | | 006 | FFF | | 007 | GGG

| 008 | HHH |

I would have to return the ind values from 5 down (6,7,8);

    
asked by anonymous 22.10.2016 / 05:02

1 answer

2

just do the following select

SELECT * FROM SUATABELA where ind >= '5'

If you do not want to display 5, stay

SELECT * FROM SUATABELA where ind > '5'

remembering that SUATABELA is the name of your table in db

    
22.10.2016 / 05:11