How can we find the number of rows in a table using MySQL?
Answers were Sorted based on User's Feedback
Mysql : - select count(*) [tablename];
PHP :- mysql_num_rows();
Is This Answer Correct ? | 14 Yes | 1 No |
Answer / sunil kumar
Hello Manish bheiya, I tried ur answer but its not run on my
PC and then I tried this query
select count(*) as row from tablename
Is This Answer Correct ? | 1 Yes | 7 No |
How do you start and stop MySQL on Windows?
What does TIMESTAMP ON UPDATE CURRENT_TIMESTAMP data type do?
What is the use of innodb in mysql?
What is 'mysqlimport'?
how do i list constraints in my database by using sql server2000?
How database are managed?
How is data stored in mysql?
at first i'm using datediff('d', a.due_date, current_date); but it takes too long to get the result but how can i subtract the current_date - a.due_date and still get the same result like when i use datediff? thank you
Can foreign key have duplicate values?
What can you do with mysql?
How do I start mysql client?
What is the size of mysql database?