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 |
What is difference between group by and order by clause?
Can u give the example by taking an unnormalized table and make that 1nf and then 25nf, and then 3 nf?
What are numeric data types?
How to control the max size of a heap table?
What is mysql gpl?
How to Recover a MySQL root password. Stop the MySQL server process. Start again with no grant tables. Login to MySQL as root. Set new password. Exit MySQL and restart MySQL server.
What is user in mysql?
Is mysql free for commercial use?
What is blob datatype in mysql?
What is the default port for mysql and how it can change?
What is mysql sleep process?
Is there an object-oriented version of MySQL library functions?