SELECT COUNT(*) FROM fooTable;
will count the number of rows in the table.
See the reference manual.
More Related Contents:
- How do I specify unique constraint for multiple columns in MySQL?
- SELECTING with multiple WHERE conditions on same column
- grant remote access of MySQL database from any IP address
- Should MySQL have its timezone set to UTC?
- JDBC batch insert performance
- SQL – Update multiple records in one query
- How to find gaps in sequential numbering in mysql?
- Can I create view with parameter in MySQL?
- MySQL: Invalid use of group function
- How to store IPv6-compatible address in a relational database
- Scaling solutions for MySQL (Replication, Clustering)
- MySQL show status – active or total connections?
- MySQL dynamic pivot table
- mysql check if numbers are in a comma separated list
- mySQL DataSource on Visual Studio 2012
- MySQL update case help
- Dropping Unique constraint from MySQL table
- Sorting by date & time in descending order?
- passing LIMIT as parameters to MySQL sproc
- What is the difference between BIT and TINYINT in MySQL?
- MySQL ERROR 1290 (HY000) –secure-file-priv option
- Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
- MySQL, Concatenate two columns
- Is it Possible to Enforce Data Checking in MySQL using Regular expression
- Import MySQL dump to PostgreSQL database
- How to select data where a field has a min value in MySQL?
- MYSQL declaring variables
- MySQL errorno 121
- Force MySQL to return duplicates from WHERE IN clause without using JOIN/UNION?
- comparison of truncate vs delete in mysql/sqlserver [duplicate]