Author Topic: How to count number of record in mysql ?  (Read 11685 times)

Jai

  • Newbie
  • *
  • Posts: 5
How to count number of record in mysql ?
« on: September 15, 2011, 01:53:00 PM »
Hello Sir, I m just learning mysql and i have a project of mysql in which i create a table b't now m stuck at a point and can't proceed ahead. I want to know the number of record ? So, can u just tell me what command i should use for it ?

Jaffery

  • Administrator
  • Full Member
  • *****
  • Posts: 158
Re: How to count number of record in mysql ?
« Reply #1 on: September 16, 2011, 11:06:01 AM »
That is kind of easy .

Simply run query : SELECT COUNT(*) FROM 'tablenamehere' ;

 

X

Do you know?

By participating in our community you can get free top level domain as well learn about Search Engine Optimization, Server management and more..
Join Now!