Home > DeveloperSection > Interviews > How do you get the number of rows affected by query?

Posted on    April-09-2012 9:15 AM

 MYSQL MYSQL 
Ratings:
 1 Answer(s)
  1610  View(s)
Rate this:

Arun Singh

Total Post:310

Points:1550
Posted on    April-09-2012 12:00 AM

SELECT COUNT (user_id) FROM users would only return the number of user_id’s.

Don't want to miss updates? Please click the below button!

Follow MindStick