Limit clause throwing unexpected errors via Query JSON with SQL

ey can you help me? im having i think the same issue as yours Pagination Offset in Query JSON with SQL - #7 by agaitan026 in this post i got the details