Author Topic: How to count number of record in mysql ?  (Read 28046 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?

IfAndBut.com gives you a platform where you can ask questions related to web and internet..
So, why wait..
Join Now!
anything

Database Error

Please try again. If you come back to this error screen, report the error to an administrator.
Back