Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

How do you get the number of rows affected by query in SQL mysql?

6 like 0 dislike
Hello
How do you get the number of rows affected by query?
please reply me. i am waiting for your reply.
Thanx
asked 1 year ago by DBA-boss (120,990 points)

1 Answer

1 like 0 dislike
 
Best answer
SELECT COUNT (user_id) FROM users would only return the number of user_id’s.
Thanx
answered 1 year ago by eagles11 (179,830 points)

Related questions

6 like 0 dislike
1 answer
8 like 0 dislike
1 answer
7 like 0 dislike
1 answer
asked 1 year ago by eagle09 (95,490 points)
4 like 0 dislike
1 answer
asked 1 year ago by eagles11 (179,830 points)
8 like 0 dislike
1 answer