[FIXED] Count table rows

Issue

What is the MySQL command to retrieve the count of records in a table?


Solution

SELECT COUNT(*) FROM fooTable;

will count the number of rows in the table.

See the reference manual.



Answered By - Gregory Pakosz
Answer Checked By - Katrina (Python.Easybugfix Volunteer)

Related Posts

Post a Comment