Which function is used to count the number of rows in a MariaDB table?

Which function is used to count the number of rows in a MariaDB table?

a) COUNT()
b) SUM()
c) LENGTH()
d) AVG()

Answer:

a) COUNT()

Explanation:

The COUNT() function is used to return the number of rows that match a specified condition in a MariaDB table.

Reference:

MariaDB Quiz – MCQ Questions and Answers

Scroll to Top