Advertisements
Advertisements
Question
Which statement is used to count the number of rows in table?
Options
SELECT COUNT(*) FROM table_name;
SELECT COUNT ALL(*) FROM table_name;
SELECT ROWS(*) FROM table_name;
All of these
MCQ
Solution
SELECT COUNT(*) FROM table_name;
shaalaa.com
Functions in SQL
Is there an error in this question or solution?