To find the number of rows in a DB2 table, the user has to use SELECT COUNT (*) on the DB2 query.