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 the difference between BLOB AND TEXT?
How to Change a users password from MySQL prompt. Login as root. Set the password. Update privs.
How do I run a query in mysql?
How does mysql store dates?
What data structure does mysql use?
what do you mean by longblob Data type in MySql?
What is the return type of mysqli_query?
Why do we use group by and order by function in mysql?
What's the difference between mysql and sql server?
What is the insert?
What is save point in mysql?
What are the difference between and myisam and innodb?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)