When using a LIMIT statement in a query, it specifies the maximum number of results to return. If we include a NULL value in the LIMIT clause, the query will not return any results because NULL means an unknown value. It makes no sense to limit the number of unknown results that can be returned by the query. Therefore, including a NULL value in the LIMIT statement will always result in an empty result set.
Asked: 2023-07-14 02:53:01 +0000
Seen: 12 times
Last updated: Jul 14 '23