What is the MySQL command to retrieve the count of records in a table?
If you have several fields in your table and your table is huge, it's better DO NOT USE * because of it load all fields to memory and using the following will have better performance
*
SELECT COUNT(1) FROM fooTable;