The result is not always "1000 rows returned." If the number of entries is less, you will receive an actual invoice. If you want to know the total number of rows in the table, do it select count(*) from table. In addition, you can turn off the automatic limit and get all the records returned by the MySQL Workbench, but it can be the time + memory consumed for large tables.
source
share