FirstInTest
QuestionsFlash card
CoursesVideosPricingNewsBlogFeedback
Questions/Google Certification

In SQL, which function is used to return the number of rows in a table?

Answer

COUNT()

Explanation

The COUNT() function returns the number of rows that match a specified condition.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error

Related questions

A BI analyst is asked to identify the top 10 customers by revenue. Which SQL clause is essential to limit the result to 10 rows?

View question →

Which of the following are common data quality dimensions? (Select all that apply.)

View question →

Which SQL clause is used to filter the results of a GROUP BY operation?

View question →

Which of the following are benefits of using a star schema over a normalized schema for BI? (Select all that apply.)

View question →

A BI analyst needs to calculate the year-over-year growth in sales. Which SQL function is most appropriate for this task?

View question →

Which of the following are appropriate ways to present time-series data in a dashboard? (Select all that apply.)

View question →

QuestionBack to list
FirstInTest

A world-class coach for every exam.

Product

CoursesVideosPricingNewsBlogFeedback

Company

About usFAQEditorial PolicyContact usFeedbackCommunityFor AI Assistants

Legal

Editorial PolicyTermsPrivacyRefunds