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

Just make posts in this community and win .com / .org / .net domain name free.
Know more..
Join Now!