buildSelectTableQueryWithLimit
Builds a SELECT query for reading from a table.
Return
the SQL query string.
Parameters
tableName
the name of the table to query.
limit
the maximum number of rows to retrieve. If 0 or negative, no limit is applied.