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 can you change the name of any existing table by using the sql statement?
How many threads can mysql handle?
What is the use of pdo?
What is the difference between SQL and SQL Server?
What is mysql shell?
What is a mysql server?
Can mysql function return a table?
How would you enter characters as hex numbers?
Does insert statement lock the table?
What is pragma serially_reusable and why is it used?
What are the difference between mongodb and mysql?
Query to select passwords from a table having a column "Password" Whose length is b/w 8 &15 and having 'A' as the first character in the password irrespective of case.
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)