buildSqlQueryWithLimit
Constructs a SQL query with a limit clause.
Return
A new SQL query with the limit clause added.
Parameters
sqlQuery
The original SQL query.
limit
The maximum number of rows to retrieve from the query. Default is 1.