I have the following expression from Linq:
Tabla.Skip(ind_pag).Take(cant_filas).ToList()
How would it be on MySql ???
I have the following expression from Linq:
Tabla.Skip(ind_pag).Take(cant_filas).ToList()
How would it be on MySql ???
That is a query with paging, the Skip
and Take
methods indicate how many rows to skip and how many to select respectively. In MySQL this is expressed with LIMIT
SELECT columna1, columna2, ...
FROM Tabla
LIMIT @ind_pag, @cant_filas