Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.