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 to enter boolean values in sql statements?
What is mysql57?
What are mysql functions?
What is difference between mysql mysqli and pdo?
What is join in mysql? What are the different types of join?
Why mysql is so popular?
Transactions are used to treat sets of SQL statements atomically. State Whether True or False?
How to show all tables with 'mysql'?
Where is the mysql database stored?
What mysql means?
What is ntext?
What are the disadvantages of stored procedures?