how to know number of rows in a table mysql code example Example: how to count number of rows in sql SELECT COUNT(*) FROM dbo.bigTransactionHistory;