diff --git a/docs/2022-07-31-sql.html b/docs/2022-07-31-sql.html index bd57124..c59d740 100644 --- a/docs/2022-07-31-sql.html +++ b/docs/2022-07-31-sql.html @@ -430,6 +430,22 @@ >

+
  • +

    + How to get the number of total results when there is LIMIT in + query? +

    +
  • +
  • +

    + Run a query with a LIMIT/OFFSET and also get the total number of + rows +

    +
  • diff --git a/posts/2022-07-31-sql.md b/posts/2022-07-31-sql.md index 794ab2b..8be6b88 100644 --- a/posts/2022-07-31-sql.md +++ b/posts/2022-07-31-sql.md @@ -154,3 +154,5 @@ Use `SELECT 1` to check if database failed yet. - [Why are database columns 191 characters?](https://www.grouparoo.com/blog/varchar-191) - [Store UUID v4 in MySQL](https://stackoverflow.com/a/43056611) - [Difference between text and varchar (character varying)](https://stackoverflow.com/a/4849030) +- [How to get the number of total results when there is LIMIT in query?](https://stackoverflow.com/q/33889922) +- [Run a query with a LIMIT/OFFSET and also get the total number of rows](https://stackoverflow.com/q/28888375)